Skip to main content

stack_set_auto_deployment_targets

Creates, updates, deletes, gets or lists a stack_set_auto_deployment_targets resource.

Overview

Namestack_set_auto_deployment_targets
TypeResource
Idaws.cloudformation.stack_set_auto_deployment_targets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
organizational_unit_idstringThe organization root ID or organizational unit (OU) IDs where the StackSet is targeted.
regionsstringThe list of Regions targeted for this organization or OU.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_stack_set_auto_deployment_targetsselectStackSetName, regionNextToken, MaxResults, CallAsReturns summary information about deployment targets for a StackSet.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
StackSetNamestringThe name or unique ID of the StackSet that you want to get automatic deployment targets for.
regionstringAWS region (default: us-east-1)
CallAsstringSpecifies 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 Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
MaxResultsintegerThe maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.
NextTokenstringThe token for the next set of items to return. (You received this token from a previous call.)

SELECT examples

Returns summary information about deployment targets for a StackSet.

SELECT
organizational_unit_id,
regions
FROM aws.cloudformation.stack_set_auto_deployment_targets
WHERE StackSetName = '{{ StackSetName }}' -- required
AND region = '{{ region }}' -- required
AND NextToken = '{{ NextToken }}'
AND MaxResults = '{{ MaxResults }}'
AND CallAs = '{{ CallAs }}'
;