DATASOURCE::ROS::StackGroups is used to query the details of stack groups.
Syntax
{
"Type": "DATASOURCE::ROS::StackGroups",
"Properties": {
"ResourceGroupId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
ResourceGroupId | String | No | Yes | The ID of the resource group. | None. |
Return values
Fn::GetAtt
- StackGroups: details of the stack groups.
- StackGroupNames: the names of the stack groups.
Property | Type | Description | Constraint |
---|---|---|---|
StackGroupNames | List | The names of the stack groups. | None. |
StackGroups | List | Details of stack groups. | None. |
Status | String | The state of the stack group. | Valid values:
|
PermissionModel | String | The permission model of the stack group. | Valid values:
|
Description | String | The description of the stack group. | None. |
Tags | List | The tags that are added to the stack group. | Example:
|
StackGroupId | String | The ID of the stack group. | None. |
ResourceGroupId | String | The ID of the resource group. | None. |
AutoDeployment | Map | The information about automatic deployment settings. | Example:
|
StackGroupName | String | The name of the stack group. | None. |
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "ResourceGroupId": { "Type": "String", "Description": "The ID of the resource group." } }, "Resources": { "ExtensionDataSource": { "Type": "DATASOURCE::ROS::StackGroups", "Properties": { "ResourceGroupId": { "Ref": "ResourceGroupId" } } } }, "Outputs": { "StackGroups": { "Description": "The list of stack groups.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "StackGroups" ] } }, "StackGroupNames": { "Description": "The list of stack group names.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "StackGroupNames" ] } } } }