AWS SDK Version 3 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 a stack using the input information that was provided when the specified change set was created. After the call successfully completes, AWS CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update.

When you execute a change set, AWS CloudFormation deletes all other change sets associated with the stack because they aren't valid for the updated stack.

If a stack policy is associated with the stack, AWS CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy.

Note:

For PCL this operation is only available in asynchronous form. Please refer to ExecuteChangeSetAsync.

Namespace: Amazon.CloudFormation
Assembly: AWSSDK.CloudFormation.dll
Version: 3.x.y.z

Syntax

C#
public virtual ExecuteChangeSetResponse ExecuteChangeSet(
         ExecuteChangeSetRequest request
)
Parameters
request
Type: Amazon.CloudFormation.Model.ExecuteChangeSetRequest

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

Return Value
The response from the ExecuteChangeSet service method, as returned by CloudFormation.

Exceptions

ExceptionCondition
ChangeSetNotFoundException The specified change set name or ID doesn't exit. To view valid change sets for a stack, use the ListChangeSets action.
InsufficientCapabilitiesException The template contains resources with capabilities that weren't specified in the Capabilities parameter.
InvalidChangeSetStatusException The specified change set can't be used to update the stack. For example, the change set status might be CREATE_IN_PROGRESS, or the stack status might be UPDATE_IN_PROGRESS.
TokenAlreadyExistsException A client request token already exists.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also