View a markdown version of this page

DescribeStackSet - AWS CloudFormation

DescribeStackSet

Returns the description of the specified StackSet.

Note

This API provides strongly consistent reads meaning it will always return the most up-to-date data.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

CallAs

[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for StackSets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.

  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your AWS account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the AWS CloudFormation User Guide.

Type: String

Valid Values: SELF | DELEGATED_ADMIN

Required: No

StackSetName

The name or unique ID of the StackSet whose description you want.

Type: String

Required: Yes

Response Elements

The following element is returned by the service.

StackSet

The specified StackSet.

Type: StackSet object

Errors

For information about the errors that are common to all actions, see Common Error Types.

StackSetNotFound

The specified StackSet doesn't exist.

HTTP Status Code: 404

Examples

DescribeStackSet

This example illustrates one usage of DescribeStackSet.

Sample Request

https://cloudformation.us-east-1.amazonaws.com/ ?Action=DescribeStackSet &Version=2010-05-15 &StackSetName=stack-set-example &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=[Access key ID and scope] &X-Amz-Date=20170810T233349Z &X-Amz-SignedHeaders=content-type;host &X-Amz-Signature=[Signature]

Sample Response

CAPABILITY_IAM stack-set-example:c14cd6d1-cd17-40bd-82ed-ff97example [details omitted] stack-set-example Enable AWS Config AllSupported false true DeliveryChannelName false Frequency false 24hours IncludeGlobalResourceTypes false true NotificationEmail false ResourceTypes false TopicArn false marketing business-unit COMPLETED 5 0 IN_SYNC 5 0 0 2019-12-03T20:00:27.877Z ACTIVE 48d13e76-794b-11e7-95e6-f946example

How to view which Regions a StackSet has stack instances deployed to.

Use the DescribeStackSets API to output a list of Regions. This list consists of Regions where a given StackSet has stack instances deployed.

In the following example, the StackSet named "MyStackSet" has stack instances deployed in Regions "us-east-1" and "us-west-2":

{ "StackSet": { "StackSetName": "MyStackSet", //... "Regions": [ "us-east-1", "us-west-2" ] } }

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: