We recommend new projects start with resources from the AWS provider.
aws-native.cloudformation.getStackSet
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
StackSet as a resource provides one-click experience for provisioning a StackSet and StackInstances
Using getStackSet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStackSet(args: GetStackSetArgs, opts?: InvokeOptions): Promise<GetStackSetResult>
function getStackSetOutput(args: GetStackSetOutputArgs, opts?: InvokeOptions): Output<GetStackSetResult>
def get_stack_set(stack_set_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStackSetResult
def get_stack_set_output(stack_set_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStackSetResult]
func LookupStackSet(ctx *Context, args *LookupStackSetArgs, opts ...InvokeOption) (*LookupStackSetResult, error)
func LookupStackSetOutput(ctx *Context, args *LookupStackSetOutputArgs, opts ...InvokeOption) LookupStackSetResultOutput
> Note: This function is named LookupStackSet
in the Go SDK.
public static class GetStackSet
{
public static Task<GetStackSetResult> InvokeAsync(GetStackSetArgs args, InvokeOptions? opts = null)
public static Output<GetStackSetResult> Invoke(GetStackSetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStackSetResult> getStackSet(GetStackSetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cloudformation:getStackSet
arguments:
# arguments dictionary
The following arguments are supported:
- Stack
Set stringId - The ID of the stack set that you're creating.
- Stack
Set stringId - The ID of the stack set that you're creating.
- stack
Set StringId - The ID of the stack set that you're creating.
- stack
Set stringId - The ID of the stack set that you're creating.
- stack_
set_ strid - The ID of the stack set that you're creating.
- stack
Set StringId - The ID of the stack set that you're creating.
getStackSet Result
The following output properties are available:
- Administration
Role stringArn - The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account.
- Auto
Deployment Pulumi.Aws Native. Cloud Formation. Outputs. Stack Set Auto Deployment - Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to the target organization or organizational unit (OU). Specify only if PermissionModel is SERVICE_MANAGED.
- Capabilities
List<Pulumi.
Aws Native. Cloud Formation. Stack Set Capability> - In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for AWS CloudFormation to create the stack set and related stack instances.
- Description string
- A description of the stack set. You can use the description to identify the stack set's purpose or other important information.
- Execution
Role stringName - The name of the IAM execution role to use to create the stack set. If you do not specify an execution role, AWS CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation.
- Managed
Execution Pulumi.Aws Native. Cloud Formation. Outputs. Managed Execution Properties - Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
- Parameters
List<Pulumi.
Aws Native. Cloud Formation. Outputs. Stack Set Parameter> - The input parameters for the stack set template.
- Stack
Set stringId - The ID of the stack set that you're creating.
- List<Pulumi.
Aws Native. Outputs. Tag> - The key-value pairs to associate with this stack set and the stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified.
- Template
Body string - The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.
- Administration
Role stringArn - The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account.
- Auto
Deployment StackSet Auto Deployment - Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to the target organization or organizational unit (OU). Specify only if PermissionModel is SERVICE_MANAGED.
- Capabilities
[]Stack
Set Capability - In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for AWS CloudFormation to create the stack set and related stack instances.
- Description string
- A description of the stack set. You can use the description to identify the stack set's purpose or other important information.
- Execution
Role stringName - The name of the IAM execution role to use to create the stack set. If you do not specify an execution role, AWS CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation.
- Managed
Execution ManagedExecution Properties - Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
- Parameters
[]Stack
Set Parameter - The input parameters for the stack set template.
- Stack
Set stringId - The ID of the stack set that you're creating.
- Tag
- The key-value pairs to associate with this stack set and the stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified.
- Template
Body string - The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.
- administration
Role StringArn - The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account.
- auto
Deployment StackSet Auto Deployment - Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to the target organization or organizational unit (OU). Specify only if PermissionModel is SERVICE_MANAGED.
- capabilities
List<Stack
Set Capability> - In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for AWS CloudFormation to create the stack set and related stack instances.
- description String
- A description of the stack set. You can use the description to identify the stack set's purpose or other important information.
- execution
Role StringName - The name of the IAM execution role to use to create the stack set. If you do not specify an execution role, AWS CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation.
- managed
Execution ManagedExecution Properties - Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
- parameters
List<Stack
Set Parameter> - The input parameters for the stack set template.
- stack
Set StringId - The ID of the stack set that you're creating.
- List<Tag>
- The key-value pairs to associate with this stack set and the stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified.
- template
Body String - The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.
- administration
Role stringArn - The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account.
- auto
Deployment StackSet Auto Deployment - Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to the target organization or organizational unit (OU). Specify only if PermissionModel is SERVICE_MANAGED.
- capabilities
Stack
Set Capability[] - In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for AWS CloudFormation to create the stack set and related stack instances.
- description string
- A description of the stack set. You can use the description to identify the stack set's purpose or other important information.
- execution
Role stringName - The name of the IAM execution role to use to create the stack set. If you do not specify an execution role, AWS CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation.
- managed
Execution ManagedExecution Properties - Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
- parameters
Stack
Set Parameter[] - The input parameters for the stack set template.
- stack
Set stringId - The ID of the stack set that you're creating.
- Tag[]
- The key-value pairs to associate with this stack set and the stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified.
- template
Body string - The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.
- administration_
role_ strarn - The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account.
- auto_
deployment StackSet Auto Deployment - Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to the target organization or organizational unit (OU). Specify only if PermissionModel is SERVICE_MANAGED.
- capabilities
Sequence[Stack
Set Capability] - In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for AWS CloudFormation to create the stack set and related stack instances.
- description str
- A description of the stack set. You can use the description to identify the stack set's purpose or other important information.
- execution_
role_ strname - The name of the IAM execution role to use to create the stack set. If you do not specify an execution role, AWS CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation.
- managed_
execution ManagedExecution Properties - Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
- parameters
Sequence[Stack
Set Parameter] - The input parameters for the stack set template.
- stack_
set_ strid - The ID of the stack set that you're creating.
- Sequence[root_Tag]
- The key-value pairs to associate with this stack set and the stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified.
- template_
body str - The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.
- administration
Role StringArn - The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account.
- auto
Deployment Property Map - Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to the target organization or organizational unit (OU). Specify only if PermissionModel is SERVICE_MANAGED.
- capabilities List<"CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND">
- In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for AWS CloudFormation to create the stack set and related stack instances.
- description String
- A description of the stack set. You can use the description to identify the stack set's purpose or other important information.
- execution
Role StringName - The name of the IAM execution role to use to create the stack set. If you do not specify an execution role, AWS CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation.
- managed
Execution Property Map - Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations.
- parameters List<Property Map>
- The input parameters for the stack set template.
- stack
Set StringId - The ID of the stack set that you're creating.
- List<Property Map>
- The key-value pairs to associate with this stack set and the stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified.
- template
Body String - The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes.
Supporting Types
ManagedExecutionProperties
- Active bool
When
true
, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order.If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting.
You can't modify your stack set's execution configuration while there are running or queued operations for that stack set.
When
false
(default), StackSets performs one operation at a time in request order.
- Active bool
When
true
, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order.If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting.
You can't modify your stack set's execution configuration while there are running or queued operations for that stack set.
When
false
(default), StackSets performs one operation at a time in request order.
- active Boolean
When
true
, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order.If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting.
You can't modify your stack set's execution configuration while there are running or queued operations for that stack set.
When
false
(default), StackSets performs one operation at a time in request order.
- active boolean
When
true
, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order.If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting.
You can't modify your stack set's execution configuration while there are running or queued operations for that stack set.
When
false
(default), StackSets performs one operation at a time in request order.
- active bool
When
true
, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order.If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting.
You can't modify your stack set's execution configuration while there are running or queued operations for that stack set.
When
false
(default), StackSets performs one operation at a time in request order.
- active Boolean
When
true
, StackSets performs non-conflicting operations concurrently and queues conflicting operations. After conflicting operations finish, StackSets starts queued operations in request order.If there are already running or queued operations, StackSets queues all incoming operations even if they are non-conflicting.
You can't modify your stack set's execution configuration while there are running or queued operations for that stack set.
When
false
(default), StackSets performs one operation at a time in request order.
StackSetAutoDeployment
- Enabled bool
- If set to true, StackSets automatically deploys additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
- Retain
Stacks boolOn Account Removal - If set to true, stack resources are retained when an account is removed from a target organization or OU. If set to false, stack resources are deleted. Specify only if Enabled is set to True.
- Enabled bool
- If set to true, StackSets automatically deploys additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
- Retain
Stacks boolOn Account Removal - If set to true, stack resources are retained when an account is removed from a target organization or OU. If set to false, stack resources are deleted. Specify only if Enabled is set to True.
- enabled Boolean
- If set to true, StackSets automatically deploys additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
- retain
Stacks BooleanOn Account Removal - If set to true, stack resources are retained when an account is removed from a target organization or OU. If set to false, stack resources are deleted. Specify only if Enabled is set to True.
- enabled boolean
- If set to true, StackSets automatically deploys additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
- retain
Stacks booleanOn Account Removal - If set to true, stack resources are retained when an account is removed from a target organization or OU. If set to false, stack resources are deleted. Specify only if Enabled is set to True.
- enabled bool
- If set to true, StackSets automatically deploys additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
- retain_
stacks_ boolon_ account_ removal - If set to true, stack resources are retained when an account is removed from a target organization or OU. If set to false, stack resources are deleted. Specify only if Enabled is set to True.
- enabled Boolean
- If set to true, StackSets automatically deploys additional stack instances to AWS Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.
- retain
Stacks BooleanOn Account Removal - If set to true, stack resources are retained when an account is removed from a target organization or OU. If set to false, stack resources are deleted. Specify only if Enabled is set to True.
StackSetCapability
StackSetParameter
- Parameter
Key string - The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
- Parameter
Value string - The input value associated with the parameter.
- Parameter
Key string - The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
- Parameter
Value string - The input value associated with the parameter.
- parameter
Key String - The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
- parameter
Value String - The input value associated with the parameter.
- parameter
Key string - The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
- parameter
Value string - The input value associated with the parameter.
- parameter_
key str - The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
- parameter_
value str - The input value associated with the parameter.
- parameter
Key String - The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
- parameter
Value String - The input value associated with the parameter.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.