StackSet
Manages a CloudFormation StackSet. StackSets allow CloudFormation templates to be easily deployed across multiple accounts and regions via StackSet Instances (aws.cloudformation.StackSetInstance resource). Additional information about StackSets can be found in the AWS CloudFormation User Guide.
NOTE: All template parameters, including those with a
Default, must be configured or ignored with thelifecycleconfiguration blockignore_changesargument.NOTE: All
NoEchotemplate parameters must be ignored with thelifecycleconfiguration blockignore_changesargument.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy = Output.Create(Aws.Iam.GetPolicyDocument.InvokeAsync(new Aws.Iam.GetPolicyDocumentArgs
{
Statements =
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementArgs
{
Actions =
{
"sts:AssumeRole",
},
Effect = "Allow",
Principals =
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalArgs
{
Identifiers =
{
"cloudformation.amazonaws.com",
},
Type = "Service",
},
},
},
},
}));
var aWSCloudFormationStackSetAdministrationRole = new Aws.Iam.Role("aWSCloudFormationStackSetAdministrationRole", new Aws.Iam.RoleArgs
{
AssumeRolePolicy = aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy.Apply(aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy => aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy.Json),
});
var example = new Aws.CloudFormation.StackSet("example", new Aws.CloudFormation.StackSetArgs
{
AdministrationRoleArn = aWSCloudFormationStackSetAdministrationRole.Arn,
Parameters =
{
{ "VPCCidr", "10.0.0.0/16" },
},
TemplateBody = @"{
""Parameters"" : {
""VPCCidr"" : {
""Type"" : ""String"",
""Default"" : ""10.0.0.0/16"",
""Description"" : ""Enter the CIDR block for the VPC. Default is 10.0.0.0/16.""
}
},
""Resources"" : {
""myVpc"": {
""Type"" : ""AWS::EC2::VPC"",
""Properties"" : {
""CidrBlock"" : { ""Ref"" : ""VPCCidr"" },
""Tags"" : [
{""Key"": ""Name"", ""Value"": ""Primary_CF_VPC""}
]
}
}
}
}
",
});
var aWSCloudFormationStackSetAdministrationRoleExecutionPolicyPolicyDocument = example.ExecutionRoleName.Apply(executionRoleName => Aws.Iam.GetPolicyDocument.InvokeAsync(new Aws.Iam.GetPolicyDocumentArgs
{
Statements =
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementArgs
{
Actions =
{
"sts:AssumeRole",
},
Effect = "Allow",
Resources =
{
$"arn:aws:iam::*:role/{executionRoleName}",
},
},
},
}));
var aWSCloudFormationStackSetAdministrationRoleExecutionPolicyRolePolicy = new Aws.Iam.RolePolicy("aWSCloudFormationStackSetAdministrationRoleExecutionPolicyRolePolicy", new Aws.Iam.RolePolicyArgs
{
Policy = aWSCloudFormationStackSetAdministrationRoleExecutionPolicyPolicyDocument.Apply(aWSCloudFormationStackSetAdministrationRoleExecutionPolicyPolicyDocument => aWSCloudFormationStackSetAdministrationRoleExecutionPolicyPolicyDocument.Json),
Role = aWSCloudFormationStackSetAdministrationRole.Name,
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/cloudformation"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
Statements: []iam.GetPolicyDocumentStatement{
iam.GetPolicyDocumentStatement{
Actions: []string{
"sts:AssumeRole",
},
Effect: "Allow",
Principals: []iam.GetPolicyDocumentStatementPrincipal{
iam.GetPolicyDocumentStatementPrincipal{
Identifiers: []string{
"cloudformation.amazonaws.com",
},
Type: "Service",
},
},
},
},
}, nil)
if err != nil {
return err
}
aWSCloudFormationStackSetAdministrationRole, err := iam.NewRole(ctx, "aWSCloudFormationStackSetAdministrationRole", &iam.RoleArgs{
AssumeRolePolicy: pulumi.String(aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy.Json),
})
if err != nil {
return err
}
example, err := cloudformation.NewStackSet(ctx, "example", &cloudformation.StackSetArgs{
AdministrationRoleArn: aWSCloudFormationStackSetAdministrationRole.Arn,
Parameters: pulumi.StringMap{
"VPCCidr": pulumi.String("10.0.0.0/16"),
},
TemplateBody: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Parameters\" : {\n", " \"VPCCidr\" : {\n", " \"Type\" : \"String\",\n", " \"Default\" : \"10.0.0.0/16\",\n", " \"Description\" : \"Enter the CIDR block for the VPC. Default is 10.0.0.0/16.\"\n", " }\n", " },\n", " \"Resources\" : {\n", " \"myVpc\": {\n", " \"Type\" : \"AWS::EC2::VPC\",\n", " \"Properties\" : {\n", " \"CidrBlock\" : { \"Ref\" : \"VPCCidr\" },\n", " \"Tags\" : [\n", " {\"Key\": \"Name\", \"Value\": \"Primary_CF_VPC\"}\n", " ]\n", " }\n", " }\n", " }\n", "}\n", "\n")),
})
if err != nil {
return err
}
_, err = iam.NewRolePolicy(ctx, "aWSCloudFormationStackSetAdministrationRoleExecutionPolicyRolePolicy", &iam.RolePolicyArgs{
Policy: aWSCloudFormationStackSetAdministrationRoleExecutionPolicyPolicyDocument.ApplyT(func(aWSCloudFormationStackSetAdministrationRoleExecutionPolicyPolicyDocument iam.GetPolicyDocumentResult) (string, error) {
return aWSCloudFormationStackSetAdministrationRoleExecutionPolicyPolicyDocument.Json, nil
}).(pulumi.StringOutput),
Role: aWSCloudFormationStackSetAdministrationRole.Name,
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
a_ws_cloud_formation_stack_set_administration_role_assume_role_policy = aws.iam.get_policy_document(statements=[{
"actions": ["sts:AssumeRole"],
"effect": "Allow",
"principals": [{
"identifiers": ["cloudformation.amazonaws.com"],
"type": "Service",
}],
}])
a_ws_cloud_formation_stack_set_administration_role = aws.iam.Role("aWSCloudFormationStackSetAdministrationRole", assume_role_policy=a_ws_cloud_formation_stack_set_administration_role_assume_role_policy.json)
example = aws.cloudformation.StackSet("example",
administration_role_arn=a_ws_cloud_formation_stack_set_administration_role.arn,
parameters={
"VPCCidr": "10.0.0.0/16",
},
template_body="""{
"Parameters" : {
"VPCCidr" : {
"Type" : "String",
"Default" : "10.0.0.0/16",
"Description" : "Enter the CIDR block for the VPC. Default is 10.0.0.0/16."
}
},
"Resources" : {
"myVpc": {
"Type" : "AWS::EC2::VPC",
"Properties" : {
"CidrBlock" : { "Ref" : "VPCCidr" },
"Tags" : [
{"Key": "Name", "Value": "Primary_CF_VPC"}
]
}
}
}
}
""")
a_ws_cloud_formation_stack_set_administration_role_execution_policy_policy_document = example.execution_role_name.apply(lambda execution_role_name: aws.iam.get_policy_document(statements=[{
"actions": ["sts:AssumeRole"],
"effect": "Allow",
"resources": [f"arn:aws:iam::*:role/{execution_role_name}"],
}]))
a_ws_cloud_formation_stack_set_administration_role_execution_policy_role_policy = aws.iam.RolePolicy("aWSCloudFormationStackSetAdministrationRoleExecutionPolicyRolePolicy",
policy=a_ws_cloud_formation_stack_set_administration_role_execution_policy_policy_document.json,
role=a_ws_cloud_formation_stack_set_administration_role.name)import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy = pulumi.output(aws.iam.getPolicyDocument({
statements: [{
actions: ["sts:AssumeRole"],
effect: "Allow",
principals: [{
identifiers: ["cloudformation.amazonaws.com"],
type: "Service",
}],
}],
}, { async: true }));
const aWSCloudFormationStackSetAdministrationRole = new aws.iam.Role("AWSCloudFormationStackSetAdministrationRole", {
assumeRolePolicy: aWSCloudFormationStackSetAdministrationRoleAssumeRolePolicy.json,
});
const example = new aws.cloudformation.StackSet("example", {
administrationRoleArn: aWSCloudFormationStackSetAdministrationRole.arn,
parameters: {
VPCCidr: "10.0.0.0/16",
},
templateBody: `{
"Parameters" : {
"VPCCidr" : {
"Type" : "String",
"Default" : "10.0.0.0/16",
"Description" : "Enter the CIDR block for the VPC. Default is 10.0.0.0/16."
}
},
"Resources" : {
"myVpc": {
"Type" : "AWS::EC2::VPC",
"Properties" : {
"CidrBlock" : { "Ref" : "VPCCidr" },
"Tags" : [
{"Key": "Name", "Value": "Primary_CF_VPC"}
]
}
}
}
}
`,
});
const aWSCloudFormationStackSetAdministrationRoleExecutionPolicyPolicyDocument = example.executionRoleName.apply(executionRoleName => aws.iam.getPolicyDocument({
statements: [{
actions: ["sts:AssumeRole"],
effect: "Allow",
resources: [`arn:aws:iam::*:role/${executionRoleName}`],
}],
}, { async: true }));
const aWSCloudFormationStackSetAdministrationRoleExecutionPolicyRolePolicy = new aws.iam.RolePolicy("AWSCloudFormationStackSetAdministrationRole_ExecutionPolicy", {
policy: aWSCloudFormationStackSetAdministrationRoleExecutionPolicyPolicyDocument.json,
role: aWSCloudFormationStackSetAdministrationRole.name,
});Create a StackSet Resource
new StackSet(name: string, args: StackSetArgs, opts?: CustomResourceOptions);def StackSet(resource_name, opts=None, administration_role_arn=None, capabilities=None, description=None, execution_role_name=None, name=None, parameters=None, tags=None, template_body=None, template_url=None, __props__=None);func NewStackSet(ctx *Context, name string, args StackSetArgs, opts ...ResourceOption) (*StackSet, error)public StackSet(string name, StackSetArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args StackSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StackSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StackSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
StackSet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The StackSet resource accepts the following input properties:
- Administration
Role stringArn Amazon Resource Number (ARN) of the IAM Role in the administrator account.
- Capabilities List<string>
A list of capabilities. Valid values:
CAPABILITY_IAM,CAPABILITY_NAMED_IAM,CAPABILITY_AUTO_EXPAND.- Description string
Description of the StackSet.
- Execution
Role stringName Name of the IAM Role in all target accounts for StackSet operations. Defaults to
AWSCloudFormationStackSetExecutionRole.- Name string
Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
- Parameters Dictionary<string, string>
Key-value map of input parameters for the StackSet template. All template parameters, including those with a
Default, must be configured or ignored withlifecycleconfiguration blockignore_changesargument. AllNoEchotemplate parameters must be ignored with thelifecycleconfiguration blockignore_changesargument.- Dictionary<string, string>
Key-value map of tags to associate with this StackSet 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 String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with
template_url.- Template
Url string String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with
template_body.
- Administration
Role stringArn Amazon Resource Number (ARN) of the IAM Role in the administrator account.
- Capabilities []string
A list of capabilities. Valid values:
CAPABILITY_IAM,CAPABILITY_NAMED_IAM,CAPABILITY_AUTO_EXPAND.- Description string
Description of the StackSet.
- Execution
Role stringName Name of the IAM Role in all target accounts for StackSet operations. Defaults to
AWSCloudFormationStackSetExecutionRole.- Name string
Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
- Parameters map[string]string
Key-value map of input parameters for the StackSet template. All template parameters, including those with a
Default, must be configured or ignored withlifecycleconfiguration blockignore_changesargument. AllNoEchotemplate parameters must be ignored with thelifecycleconfiguration blockignore_changesargument.- map[string]string
Key-value map of tags to associate with this StackSet 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 String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with
template_url.- Template
Url string String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with
template_body.
- administration
Role stringArn Amazon Resource Number (ARN) of the IAM Role in the administrator account.
- capabilities string[]
A list of capabilities. Valid values:
CAPABILITY_IAM,CAPABILITY_NAMED_IAM,CAPABILITY_AUTO_EXPAND.- description string
Description of the StackSet.
- execution
Role stringName Name of the IAM Role in all target accounts for StackSet operations. Defaults to
AWSCloudFormationStackSetExecutionRole.- name string
Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
- parameters {[key: string]: string}
Key-value map of input parameters for the StackSet template. All template parameters, including those with a
Default, must be configured or ignored withlifecycleconfiguration blockignore_changesargument. AllNoEchotemplate parameters must be ignored with thelifecycleconfiguration blockignore_changesargument.- {[key: string]: string}
Key-value map of tags to associate with this StackSet 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 String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with
template_url.- template
Url string String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with
template_body.
- administration_
role_ strarn Amazon Resource Number (ARN) of the IAM Role in the administrator account.
- capabilities List[str]
A list of capabilities. Valid values:
CAPABILITY_IAM,CAPABILITY_NAMED_IAM,CAPABILITY_AUTO_EXPAND.- description str
Description of the StackSet.
- execution_
role_ strname Name of the IAM Role in all target accounts for StackSet operations. Defaults to
AWSCloudFormationStackSetExecutionRole.- name str
Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
- parameters Dict[str, str]
Key-value map of input parameters for the StackSet template. All template parameters, including those with a
Default, must be configured or ignored withlifecycleconfiguration blockignore_changesargument. AllNoEchotemplate parameters must be ignored with thelifecycleconfiguration blockignore_changesargument.- Dict[str, str]
Key-value map of tags to associate with this StackSet 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 String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with
template_url.- template_
url str String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with
template_body.
Outputs
All input properties are implicitly available as output properties. Additionally, the StackSet resource produces the following output properties:
Look up an Existing StackSet Resource
Get an existing StackSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: StackSetState, opts?: CustomResourceOptions): StackSetstatic get(resource_name, id, opts=None, administration_role_arn=None, arn=None, capabilities=None, description=None, execution_role_name=None, name=None, parameters=None, stack_set_id=None, tags=None, template_body=None, template_url=None, __props__=None);func GetStackSet(ctx *Context, name string, id IDInput, state *StackSetState, opts ...ResourceOption) (*StackSet, error)public static StackSet Get(string name, Input<string> id, StackSetState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Administration
Role stringArn Amazon Resource Number (ARN) of the IAM Role in the administrator account.
- Arn string
Amazon Resource Name (ARN) of the StackSet.
- Capabilities List<string>
A list of capabilities. Valid values:
CAPABILITY_IAM,CAPABILITY_NAMED_IAM,CAPABILITY_AUTO_EXPAND.- Description string
Description of the StackSet.
- Execution
Role stringName Name of the IAM Role in all target accounts for StackSet operations. Defaults to
AWSCloudFormationStackSetExecutionRole.- Name string
Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
- Parameters Dictionary<string, string>
Key-value map of input parameters for the StackSet template. All template parameters, including those with a
Default, must be configured or ignored withlifecycleconfiguration blockignore_changesargument. AllNoEchotemplate parameters must be ignored with thelifecycleconfiguration blockignore_changesargument.- Stack
Set stringId Unique identifier of the StackSet.
- Dictionary<string, string>
Key-value map of tags to associate with this StackSet 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 String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with
template_url.- Template
Url string String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with
template_body.
- Administration
Role stringArn Amazon Resource Number (ARN) of the IAM Role in the administrator account.
- Arn string
Amazon Resource Name (ARN) of the StackSet.
- Capabilities []string
A list of capabilities. Valid values:
CAPABILITY_IAM,CAPABILITY_NAMED_IAM,CAPABILITY_AUTO_EXPAND.- Description string
Description of the StackSet.
- Execution
Role stringName Name of the IAM Role in all target accounts for StackSet operations. Defaults to
AWSCloudFormationStackSetExecutionRole.- Name string
Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
- Parameters map[string]string
Key-value map of input parameters for the StackSet template. All template parameters, including those with a
Default, must be configured or ignored withlifecycleconfiguration blockignore_changesargument. AllNoEchotemplate parameters must be ignored with thelifecycleconfiguration blockignore_changesargument.- Stack
Set stringId Unique identifier of the StackSet.
- map[string]string
Key-value map of tags to associate with this StackSet 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 String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with
template_url.- Template
Url string String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with
template_body.
- administration
Role stringArn Amazon Resource Number (ARN) of the IAM Role in the administrator account.
- arn string
Amazon Resource Name (ARN) of the StackSet.
- capabilities string[]
A list of capabilities. Valid values:
CAPABILITY_IAM,CAPABILITY_NAMED_IAM,CAPABILITY_AUTO_EXPAND.- description string
Description of the StackSet.
- execution
Role stringName Name of the IAM Role in all target accounts for StackSet operations. Defaults to
AWSCloudFormationStackSetExecutionRole.- name string
Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
- parameters {[key: string]: string}
Key-value map of input parameters for the StackSet template. All template parameters, including those with a
Default, must be configured or ignored withlifecycleconfiguration blockignore_changesargument. AllNoEchotemplate parameters must be ignored with thelifecycleconfiguration blockignore_changesargument.- stack
Set stringId Unique identifier of the StackSet.
- {[key: string]: string}
Key-value map of tags to associate with this StackSet 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 String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with
template_url.- template
Url string String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with
template_body.
- administration_
role_ strarn Amazon Resource Number (ARN) of the IAM Role in the administrator account.
- arn str
Amazon Resource Name (ARN) of the StackSet.
- capabilities List[str]
A list of capabilities. Valid values:
CAPABILITY_IAM,CAPABILITY_NAMED_IAM,CAPABILITY_AUTO_EXPAND.- description str
Description of the StackSet.
- execution_
role_ strname Name of the IAM Role in all target accounts for StackSet operations. Defaults to
AWSCloudFormationStackSetExecutionRole.- name str
Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
- parameters Dict[str, str]
Key-value map of input parameters for the StackSet template. All template parameters, including those with a
Default, must be configured or ignored withlifecycleconfiguration blockignore_changesargument. AllNoEchotemplate parameters must be ignored with thelifecycleconfiguration blockignore_changesargument.- stack_
set_ strid Unique identifier of the StackSet.
- Dict[str, str]
Key-value map of tags to associate with this StackSet 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 String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with
template_url.- template_
url str String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with
template_body.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.