Skip to content

ConfigurationProps

Properties for defining a Configuration.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-acm-configuration

Initializer

import ros_cdk_acm
ros_cdk_acm.ConfigurationProps(
  content: typing.Union[str, IResolvable],
  data_id: typing.Union[str, IResolvable],
  namespace_id: typing.Union[str, IResolvable],
  app_name: typing.Union[str, IResolvable] = None,
  desc: typing.Union[str, IResolvable] = None,
  group: typing.Union[str, IResolvable] = None,
  tags: str = None,
  type: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
content typing.Union[str, ros_cdk_core.IResolvable] Property content: The contents of the configuration.
data_id typing.Union[str, ros_cdk_core.IResolvable] Property dataId: The ID of the configuration.
namespace_id typing.Union[str, ros_cdk_core.IResolvable] Property namespaceId: ID of namespace.
app_name typing.Union[str, ros_cdk_core.IResolvable] Property appName: Configuration application name.
desc typing.Union[str, ros_cdk_core.IResolvable] Property desc: Configuration description explains.
group typing.Union[str, ros_cdk_core.IResolvable] Property group: Group.
tags str Property tags: Label configurations, such as the presence of a plurality of tags, separated by commas.
type typing.Union[str, ros_cdk_core.IResolvable] Property type: Provisioning content format, optional values as follows: text, json, xml, yaml, text\/html, properties.

contentRequired

content: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property content: The contents of the configuration.


data_idRequired

data_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dataId: The ID of the configuration.

Allowed characters are upper and lower case letters, numbers, decimal points (.), Colons (:), asterisks (*), underscores (_), and underscores (-). When the ID prefix is the following value, ACM will automatically use KMS service to encrypt this configuration: The prefix is cipher-: the KMS service is called to encrypt and decrypt the configuration. The size of the encrypted data does not exceed 4 KB, and the maximum does not exceed 6 KB. Special symbols such as and (&) will decrypt errors and are not recommended. The prefix is cipher-kms-aes-128-: using KMS's envelope encryption and decryption method, the configuration content can exceed 6 KB, up to 100 KB. The plain text data of the configuration content will not be transmitted to the KMS system, which is more secure and recommended.


namespace_idRequired

namespace_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property namespaceId: ID of namespace.


app_nameOptional

app_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property appName: Configuration application name.


descOptional

desc: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property desc: Configuration description explains.


groupOptional

group: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property group: Group.


tagsOptional

tags: str
  • Type: str

Property tags: Label configurations, such as the presence of a plurality of tags, separated by commas.


typeOptional

type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property type: Provisioning content format, optional values as follows: text, json, xml, yaml, text\/html, properties.