DATASOURCE::ACM::Configurations is used to query the details of configurations.
Syntax
{
"Type": "DATASOURCE::ACM::Configurations",
"Properties": {
"Group": String,
"DataId": String,
"NamespaceId": String,
"AppName": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
Group | String | No | Yes | The group. | None |
DataId | String | No | Yes | The ID of the configuration. | None |
NamespaceId | String | Yes | Yes | The ID of the namespace. | None |
AppName | String | No | Yes | The name of the application to which the configuration belongs. | None |
Response parameters (Fn::GetAtt)
- DataIds: the IDs of the configurations.
- Configurations: details of the configurations.
Parameter | Type | Description | Constraint |
---|---|---|---|
DataIds | List | The IDs of the configurations. | None. |
Configurations | List | Details of the configurations. | None. |
DataId | String | The ID of the configuration. | None. |
Group | String | The group. | None. |
EncryptedDataKey | String | The data key. | None. |
Content | String | The content of the configuration. | None. |
NamespaceId | String | The ID of the namespace. | None. |
AppName | String | The name of the application to which the configuration belongs. | None. |
Md5 | String | The MD5 value of the configuration. | None. |
Examples
JSON
format
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"NamespaceId": {
"Type": "String",
"Description": "The namespace ID of configuration"
}
},
"Resources": {
"Configurations": {
"Type": "DATASOURCE::ACM::Configurations",
"Properties": {
"NamespaceId": {
"Ref": "NamespaceId"
}
}
}
},
"Outputs": {
"DataIds": {
"Description": "The list of configuration data IDs.",
"Value": {
"Fn::GetAtt": [
"Configurations",
"DataIds"
]
}
},
"Configurations": {
"Description": "The list of configurations.",
"Value": {
"Fn::GetAtt": [
"Configurations",
"Configurations"
]
}
}
}
}