AWS SDK Version 4 for .NET
API Reference

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.

Note:

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

Syntax

C#
public abstract UpdateStackSetResponse UpdateStackSet(
         UpdateStackSetRequest request
)

Parameters

request
Type: Amazon.CloudFormation.Model.UpdateStackSetRequest

Container for the necessary parameters to execute the UpdateStackSet service method.

Return Value


The response from the UpdateStackSet service method, as returned by CloudFormation.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also