Skip to content

/AWS1/CL_FRMSTACKSETOPERATION

The structure that contains information about a StackSet operation.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_operationid TYPE /AWS1/FRMCLIENTREQUESTTOKEN /AWS1/FRMCLIENTREQUESTTOKEN

The unique ID of a StackSet operation.

iv_stacksetid TYPE /AWS1/FRMSTACKSETID /AWS1/FRMSTACKSETID

The ID of the StackSet.

iv_action TYPE /AWS1/FRMSTACKSETOPACTION /AWS1/FRMSTACKSETOPACTION

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.

iv_status TYPE /AWS1/FRMSTACKSETOPSTATUS /AWS1/FRMSTACKSETOPSTATUS

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.

io_operationpreferences TYPE REF TO /AWS1/CL_FRMSTACKSETOPPREFER00 /AWS1/CL_FRMSTACKSETOPPREFER00

The preferences for how CloudFormation performs this StackSet operation.

iv_retainstacks TYPE /AWS1/FRMRETAINSTACKSNULLABLE /AWS1/FRMRETAINSTACKSNULLABLE

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.

iv_administrationrolearn TYPE /AWS1/FRMROLEARN /AWS1/FRMROLEARN

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.

iv_executionrolename TYPE /AWS1/FRMEXECUTIONROLENAME /AWS1/FRMEXECUTIONROLENAME

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.

iv_creationtimestamp TYPE /AWS1/FRMTIMESTAMP /AWS1/FRMTIMESTAMP

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.

iv_endtimestamp TYPE /AWS1/FRMTIMESTAMP /AWS1/FRMTIMESTAMP

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.

io_deploymenttargets TYPE REF TO /AWS1/CL_FRMDEPLOYMENTTARGETS /AWS1/CL_FRMDEPLOYMENTTARGETS

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

io_stacksetdriftdetectdets TYPE REF TO /AWS1/CL_FRMSTACKSETDRIFTDET00 /AWS1/CL_FRMSTACKSETDRIFTDET00

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.

iv_statusreason TYPE /AWS1/FRMSTACKSETOPSTATUSRSN /AWS1/FRMSTACKSETOPSTATUSRSN

The status of the operation in details.

io_statusdetails TYPE REF TO /AWS1/CL_FRMSTACKSETOPSTATDETS /AWS1/CL_FRMSTACKSETOPSTATDETS

Detailed information about the StackSet operation.


Queryable Attributes

OperationId

The unique ID of a StackSet operation.

Accessible with the following methods

Method Description
GET_OPERATIONID() Getter for OPERATIONID, with configurable default
ASK_OPERATIONID() Getter for OPERATIONID w/ exceptions if field has no value
HAS_OPERATIONID() Determine if OPERATIONID has a value

StackSetId

The ID of the StackSet.

Accessible with the following methods

Method Description
GET_STACKSETID() Getter for STACKSETID, with configurable default
ASK_STACKSETID() Getter for STACKSETID w/ exceptions if field has no value
HAS_STACKSETID() Determine if STACKSETID has a value

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.

Accessible with the following methods

Method Description
GET_ACTION() Getter for ACTION, with configurable default
ASK_ACTION() Getter for ACTION w/ exceptions if field has no value
HAS_ACTION() Determine if ACTION has a value

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.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

OperationPreferences

The preferences for how CloudFormation performs this StackSet operation.

Accessible with the following methods

Method Description
GET_OPERATIONPREFERENCES() Getter for OPERATIONPREFERENCES

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.

Accessible with the following methods

Method Description
GET_RETAINSTACKS() Getter for RETAINSTACKS, with configurable default
ASK_RETAINSTACKS() Getter for RETAINSTACKS w/ exceptions if field has no value
HAS_RETAINSTACKS() Determine if RETAINSTACKS has a value

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.

Accessible with the following methods

Method Description
GET_ADMINISTRATIONROLEARN() Getter for ADMINISTRATIONROLEARN, with configurable default
ASK_ADMINISTRATIONROLEARN() Getter for ADMINISTRATIONROLEARN w/ exceptions if field has
HAS_ADMINISTRATIONROLEARN() Determine if ADMINISTRATIONROLEARN has a value

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.

Accessible with the following methods

Method Description
GET_EXECUTIONROLENAME() Getter for EXECUTIONROLENAME, with configurable default
ASK_EXECUTIONROLENAME() Getter for EXECUTIONROLENAME w/ exceptions if field has no v
HAS_EXECUTIONROLENAME() Determine if EXECUTIONROLENAME has a value

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.

Accessible with the following methods

Method Description
GET_CREATIONTIMESTAMP() Getter for CREATIONTIMESTAMP, with configurable default
ASK_CREATIONTIMESTAMP() Getter for CREATIONTIMESTAMP w/ exceptions if field has no v
HAS_CREATIONTIMESTAMP() Determine if CREATIONTIMESTAMP has a value

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.

Accessible with the following methods

Method Description
GET_ENDTIMESTAMP() Getter for ENDTIMESTAMP, with configurable default
ASK_ENDTIMESTAMP() Getter for ENDTIMESTAMP w/ exceptions if field has no value
HAS_ENDTIMESTAMP() Determine if ENDTIMESTAMP has a value

DeploymentTargets

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

Accessible with the following methods

Method Description
GET_DEPLOYMENTTARGETS() Getter for DEPLOYMENTTARGETS

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.

Accessible with the following methods

Method Description
GET_STACKSETDRIFTDETECTDETS() Getter for STACKSETDRIFTDETECTDETAILS

StatusReason

The status of the operation in details.

Accessible with the following methods

Method Description
GET_STATUSREASON() Getter for STATUSREASON, with configurable default
ASK_STATUSREASON() Getter for STATUSREASON w/ exceptions if field has no value
HAS_STATUSREASON() Determine if STATUSREASON has a value

StatusDetails

Detailed information about the StackSet operation.

Accessible with the following methods

Method Description
GET_STATUSDETAILS() Getter for STATUSDETAILS