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.

The structure that contains information about a StackSet operation.

Inheritance Hierarchy

System.Object
  Amazon.CloudFormation.Model.StackSetOperation

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

Syntax

C#
public class StackSetOperation

The StackSetOperation type exposes the following members

Constructors

NameDescription
Public Method StackSetOperation()

Properties

NameTypeDescription
Public Property Action Amazon.CloudFormation.StackSetOperationAction

Gets and sets the property Action.

The type of StackSet operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack instances that are associated with the specified StackSet. Update operations affect both the StackSet itself, in addition to all associated stack instances.

Public Property AdministrationRoleARN System.String

Gets and sets the property AdministrationRoleARN.

The Amazon Resource Name (ARN) of the IAM role used to perform this StackSet operation.

Use customized administrator roles to control which users or groups can manage specific StackSets within the same administrator account. For more information, see Grant self-managed permissions in the CloudFormation User Guide.

Public Property CreationTimestamp System.DateTime

Gets and sets the property CreationTimestamp.

The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested Regions, before actually creating the first stacks.

Public Property DeploymentTargets Amazon.CloudFormation.Model.DeploymentTargets

Gets and sets the property DeploymentTargets.

The Organizations accounts affected by the stack operation. Valid only if the StackSet uses service-managed permissions.

Public Property EndTimestamp System.DateTime

Gets and sets the property EndTimestamp.

The time at which the StackSet operation ended, across all accounts and Regions specified. Note that this doesn't necessarily mean that the StackSet operation was successful, or even attempted, in each account or Region.

Public Property ExecutionRoleName System.String

Gets and sets the property ExecutionRoleName.

The name of the IAM execution role used to create or update the StackSet.

Use customized execution roles to control which stack resources users and groups can include in their StackSets.

Public Property OperationId System.String

Gets and sets the property OperationId.

The unique ID of a StackSet operation.

Public Property OperationPreferences Amazon.CloudFormation.Model.StackSetOperationPreferences

Gets and sets the property OperationPreferences.

The preferences for how CloudFormation performs this StackSet operation.

Public Property RetainStacks System.Boolean

Gets and sets the property RetainStacks.

For StackSet operations of action type DELETE, specifies whether to remove the stack instances from the specified StackSet, but doesn't delete the stacks. You can't re-associate a retained stack, or add an existing, saved stack to a new StackSet.

Public Property StackSetDriftDetectionDetails Amazon.CloudFormation.Model.StackSetDriftDetectionDetails

Gets and sets the property StackSetDriftDetectionDetails.

Detailed information about the drift status of the StackSet. This includes information about drift operations currently being performed on the StackSet.

This information will only be present for StackSet operations whose Action type is DETECT_DRIFT.

For more information, see Performing drift detection on CloudFormation StackSets in the CloudFormation User Guide.

Public Property StackSetId System.String

Gets and sets the property StackSetId.

The ID of the StackSet.

Public Property Status Amazon.CloudFormation.StackSetOperationStatus

Gets and sets the property Status.

The status of the operation.

  • FAILED: The operation exceeded the specified failure tolerance. The failure tolerance value that you've set for an operation is applied for each Region during stack create and update operations. If the number of failed stacks within a Region exceeds the failure tolerance, the status of the operation in the Region is set to FAILED. This in turn sets the status of the operation as a whole to FAILED, and CloudFormation cancels the operation in any remaining Regions.

  • QUEUED: [Service-managed permissions] For automatic deployments that require a sequence of operations, the operation is queued to be performed. For more information, see the StackSets status codes in the CloudFormation User Guide.

  • RUNNING: The operation is currently being performed.

  • STOPPED: The user has canceled the operation.

  • STOPPING: The operation is in the process of stopping, at user request.

  • SUCCEEDED: The operation completed creating or updating all the specified stacks without exceeding the failure tolerance for the operation.

Public Property StatusDetails Amazon.CloudFormation.Model.StackSetOperationStatusDetails

Gets and sets the property StatusDetails.

Detailed information about the StackSet operation.

Public Property StatusReason System.String

Gets and sets the property StatusReason.

The status of the operation in details.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5