Class: Aws::CloudFormation::Types::StackSetOperation

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudformation/types.rb

Overview

The structure that contains information about a StackSet operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

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.

Returns:

  • (String)


10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#administration_role_arnString

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

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html

Returns:

  • (String)


10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timestampTime

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.

Returns:

  • (Time)


10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#deployment_targetsTypes::DeploymentTargets

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



10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#end_timestampTime

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.

Returns:

  • (Time)


10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#execution_role_nameString

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.

Returns:

  • (String)


10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#operation_idString

The unique ID of a StackSet operation.

Returns:

  • (String)


10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#operation_preferencesTypes::StackSetOperationPreferences

The preferences for how CloudFormation performs this StackSet operation.



10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#retain_stacksBoolean

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.

Returns:

  • (Boolean)


10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#stack_set_drift_detection_detailsTypes::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*.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html



10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#stack_set_idString

The ID of the StackSet.

Returns:

  • (String)


10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

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][1

    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.

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-status-codes

Returns:

  • (String)


10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#status_detailsTypes::StackSetOperationStatusDetails

Detailed information about the StackSet operation.



10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end

#status_reasonString

The status of the operation in details.

Returns:

  • (String)


10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
# File 'lib/aws-sdk-cloudformation/types.rb', line 10471

class StackSetOperation < Struct.new(
  :operation_id,
  :stack_set_id,
  :action,
  :status,
  :operation_preferences,
  :retain_stacks,
  :administration_role_arn,
  :execution_role_name,
  :creation_timestamp,
  :end_timestamp,
  :deployment_targets,
  :stack_set_drift_detection_details,
  :status_reason,
  :status_details)
  SENSITIVE = []
  include Aws::Structure
end