AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Updates the StackSet and associated stack instances in the specified accounts and Amazon Web Services Regions.
Even if the StackSet operation created by updating the StackSet fails (completely or partially, below or above a specified failure tolerance), the StackSet is updated with your changes. Subsequent CreateStackInstances calls on the specified StackSet use the updated StackSet.
The maximum number of organizational unit (OUs) supported by a UpdateStackSet
operation is 50.
If you need more than 50, consider the following options:
Batch processing: If you don't want to expose your OU hierarchy, split up the operations into multiple calls with less than 50 OUs each.
Parent OU strategy: If you don't mind exposing the OU hierarchy, target a parent OU that contains all desired child OUs.
For .NET Core this operation is only available in asynchronous form. Please refer to UpdateStackSetAsync.
Namespace: Amazon.CloudFormation
Assembly: AWSSDK.CloudFormation.dll
Version: 3.x.y.z
public abstract UpdateStackSetResponse UpdateStackSet( UpdateStackSetRequest request )
Container for the necessary parameters to execute the UpdateStackSet service method.
Exception | Condition |
---|---|
InvalidOperationException | The specified operation isn't valid. |
OperationIdAlreadyExistsException | The specified operation ID already exists. |
OperationInProgressException | Another operation is currently in progress for this StackSet. Only one operation can be performed for a stack set at a given time. |
StackInstanceNotFoundException | The specified stack instance doesn't exist. |
StackSetNotFoundException | The specified StackSet doesn't exist. |
StaleRequestException | Another operation has been performed on this StackSet since the specified operation was performed. |
.NET Framework:
Supported in: 4.7.2 and newer