Queries details of Application Configuration Management (ACM) configurations.
Syntax
{
"Type": "DATASOURCE::ACM::Configurations",
"Properties": {
"Group": String,
"DataId": String,
"NamespaceId": String,
"AppName": String,
"RefreshOptions": String
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
Group |
String |
No |
Yes |
The group. |
None. |
|
DataId |
String |
No |
Yes |
The configuration ID. |
None. |
|
NamespaceId |
String |
Yes |
Yes |
The namespace ID. |
None. |
|
AppName |
String |
No |
Yes |
The name of the application to which the configuration belongs. |
None. |
|
RefreshOptions |
String |
No |
Yes |
The refresh policy for data source resources during stack updates. |
Valid values:
|
Return values (Fn::GetAtt)
-
DataIds: the configuration IDs.
-
Configurations: the configuration details.
|
Property |
Type |
Description |
Constraint |
|
DataIds |
List |
The configuration IDs. |
None. |
|
Configurations |
List |
The configuration details. |
None. |
|
DataId |
String |
The configuration ID. |
None. |
|
Group |
String |
The group. |
None. |
|
EncryptedDataKey |
String |
The encrypted data key. |
None. |
|
Content |
String |
The configuration content. |
None. |
|
NamespaceId |
String |
The namespace ID. |
None. |
|
AppName |
String |
The name of the application to which the configuration belongs. |
None. |
|
Md5 |
String |
The MD5 hash 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"
]
}
}
}
}