Updates the stack set, and associated stack instances in the specified accounts and Regions
Updates the stack set, and associated stack instances in the specified accounts and Regions.
Even if the stack set operation created by updating the stack set fails
(completely or partially, below or above a specified failure tolerance),
the stack set is updated with your changes. Subsequent
create_stack_instances
calls
on the specified stack set use the updated stack set.
cloudformation_update_stack_set(StackSetName, Description, TemplateBody, TemplateURL, UsePreviousTemplate, Parameters, Capabilities, Tags, OperationPreferences, AdministrationRoleARN, ExecutionRoleName, DeploymentTargets, PermissionModel, AutoDeployment, OperationId, Accounts, Regions)
StackSetName |
[required] The name or unique ID of the stack set that you want to update. |
Description |
A brief description of updates that you are making. |
TemplateBody |
The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the AWS CloudFormation User Guide. Conditional: You must specify only one of the following parameters:
|
TemplateURL |
The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information, see Template Anatomy in the AWS CloudFormation User Guide. Conditional: You must specify only one of the following parameters:
|
UsePreviousTemplate |
Use the existing template that's associated with the stack set that you're updating. Conditional: You must specify only one of the following parameters:
|
Parameters |
A list of input parameters for the stack set template. |
Capabilities |
In some cases, you must explicitly acknowledge that your stack template contains certain capabilities in order for AWS CloudFormation to update the stack set and its associated stack instances.
|
Tags |
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. You can specify a maximum number of 50 tags. If you specify tags for this parameter, those tags replace any list of tags that are currently associated with this stack set. This means:
If you specify new tags as part of an
|
OperationPreferences |
Preferences for how AWS CloudFormation performs this stack set operation. |
AdministrationRoleARN |
The Amazon Resource Number (ARN) of the IAM role to use to update 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. For more information, see Granting Permissions for Stack Set Operations in the AWS CloudFormation User Guide. If you specified a customized administrator role when you created the stack set, you must specify a customized administrator role, even if it is the same customized administrator role used with this stack set previously. |
ExecutionRoleName |
The name of the IAM execution role to use to update the stack set. If
you do not specify an execution role, AWS CloudFormation uses the
Specify an IAM role only if you are using customized execution roles to control which stack resources users and groups can include in their stack sets. If you specify a customized execution role, AWS CloudFormation uses that role to update the stack. If you do not specify a customized execution role, AWS CloudFormation performs the update using the role previously associated with the stack set, so long as you have permissions to perform operations on the stack set. |
DeploymentTargets |
[ To update all the stack instances associated with this stack set, do not
specify If the stack set update includes changes to the template (that is, if
|
PermissionModel |
Describes how the IAM roles required for stack set operations are
created. You cannot modify
|
AutoDeployment |
[ If you specify |
OperationId |
The unique ID for this stack set operation. The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that AWS CloudFormation successfully received them. If you don't specify an operation ID, AWS CloudFormation generates one automatically. Repeating this stack set operation with a new operation ID retries all
stack instances whose status is |
Accounts |
[ To update all the stack instances associated with this stack set, do
not specify the If the stack set update includes changes to the template (that is, if
the |
Regions |
The Regions in which to update associated stack instances. If you specify Regions, you must also specify accounts in which to update stack set instances. To update all the stack instances associated with this stack set, do
not specify the If the stack set update includes changes to the template (that is, if
the |
A list with the following syntax:
list( OperationId = "string" )
svc$update_stack_set( StackSetName = "string", Description = "string", TemplateBody = "string", TemplateURL = "string", UsePreviousTemplate = TRUE|FALSE, Parameters = list( list( ParameterKey = "string", ParameterValue = "string", UsePreviousValue = TRUE|FALSE, ResolvedValue = "string" ) ), Capabilities = list( "CAPABILITY_IAM"|"CAPABILITY_NAMED_IAM"|"CAPABILITY_AUTO_EXPAND" ), Tags = list( list( Key = "string", Value = "string" ) ), OperationPreferences = list( RegionOrder = list( "string" ), FailureToleranceCount = 123, FailureTolerancePercentage = 123, MaxConcurrentCount = 123, MaxConcurrentPercentage = 123 ), AdministrationRoleARN = "string", ExecutionRoleName = "string", DeploymentTargets = list( Accounts = list( "string" ), OrganizationalUnitIds = list( "string" ) ), PermissionModel = "SERVICE_MANAGED"|"SELF_MANAGED", AutoDeployment = list( Enabled = TRUE|FALSE, RetainStacksOnAccountRemoval = TRUE|FALSE ), OperationId = "string", Accounts = list( "string" ), Regions = list( "string" ) )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.