Skip to content

ConfigurationProps

Properties for defining a Configuration.

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

Initializer

import com.aliyun.ros.cdk.acm.ConfigurationProps;
ConfigurationProps.builder()
    .content(java.lang.String)
    .content(IResolvable)
    .dataId(java.lang.String)
    .dataId(IResolvable)
    .namespaceId(java.lang.String)
    .namespaceId(IResolvable)
//  .appName(java.lang.String)
//  .appName(IResolvable)
//  .desc(java.lang.String)
//  .desc(IResolvable)
//  .group(java.lang.String)
//  .group(IResolvable)
//  .tags(java.lang.String)
//  .type(java.lang.String)
//  .type(IResolvable)
    .build();

Properties

Name Type Description
content java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property content: The contents of the configuration.
dataId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dataId: The ID of the configuration.
namespaceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property namespaceId: ID of namespace.
appName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property appName: Configuration application name.
desc java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property desc: Configuration description explains.
group java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property group: Group.
tags java.lang.String Property tags: Label configurations, such as the presence of a plurality of tags, separated by commas.
type java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property type: Provisioning content format, optional values as follows: text, json, xml, yaml, text\/html, properties.

contentRequired

public java.lang.Object getContent();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property content: The contents of the configuration.


dataIdRequired

public java.lang.Object getDataId();
  • Type: java.lang.String OR com.aliyun.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.


namespaceIdRequired

public java.lang.Object getNamespaceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property namespaceId: ID of namespace.


appNameOptional

public java.lang.Object getAppName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property appName: Configuration application name.


descOptional

public java.lang.Object getDesc();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property desc: Configuration description explains.


groupOptional

public java.lang.Object getGroup();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property group: Group.


tagsOptional

public java.lang.String getTags();
  • Type: java.lang.String

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


typeOptional

public java.lang.Object getType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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