/AWS1/CL_SCGSTACKINSTANCE¶
An CloudFormation stack, in a specific account and Region, that's part of a stack set operation. A stack instance is a reference to an attempted or actual stack in a given account within a given Region. A stack instance can exist without a stackāfor example, if the stack couldn't be created for some reason. A stack instance is associated with only one stack set. Each stack instance contains the ID of its associated stack set, as well as the ID of the actual stack and the stack status.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_account TYPE /AWS1/SCGACCOUNTID /AWS1/SCGACCOUNTID¶
The name of the Amazon Web Services account that the stack instance is associated with.
iv_region TYPE /AWS1/SCGREGION /AWS1/SCGREGION¶
The name of the Amazon Web Services Region that the stack instance is associated with.
iv_stackinstancestatus TYPE /AWS1/SCGSTACKINSTANCESTATUS /AWS1/SCGSTACKINSTANCESTATUS¶
The status of the stack instance, in terms of its synchronization with its associated stack set.
INOPERABLE: ADeleteStackInstancesoperation has failed and left the stack in an unstable state. Stacks in this state are excluded from furtherUpdateStackSetoperations. You might need to perform aDeleteStackInstancesoperation, withRetainStacksset to true, to delete the stack instance, and then delete the stack manually.
OUTDATED: The stack isn't currently up to date with the stack set because either
the associated stack failed during aCreateStackSetorUpdateStackSetoperation,
or the stack was part of aCreateStackSetorUpdateStackSetoperation that failed or was stopped before the stack was created or updated.
CURRENT: The stack is currently up to date with the stack set.
Queryable Attributes¶
Account¶
The name of the Amazon Web Services account that the stack instance is associated with.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ACCOUNT() |
Getter for ACCOUNT, with configurable default |
ASK_ACCOUNT() |
Getter for ACCOUNT w/ exceptions if field has no value |
HAS_ACCOUNT() |
Determine if ACCOUNT has a value |
Region¶
The name of the Amazon Web Services Region that the stack instance is associated with.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REGION() |
Getter for REGION, with configurable default |
ASK_REGION() |
Getter for REGION w/ exceptions if field has no value |
HAS_REGION() |
Determine if REGION has a value |
StackInstanceStatus¶
The status of the stack instance, in terms of its synchronization with its associated stack set.
INOPERABLE: ADeleteStackInstancesoperation has failed and left the stack in an unstable state. Stacks in this state are excluded from furtherUpdateStackSetoperations. You might need to perform aDeleteStackInstancesoperation, withRetainStacksset to true, to delete the stack instance, and then delete the stack manually.
OUTDATED: The stack isn't currently up to date with the stack set because either
the associated stack failed during aCreateStackSetorUpdateStackSetoperation,
or the stack was part of aCreateStackSetorUpdateStackSetoperation that failed or was stopped before the stack was created or updated.
CURRENT: The stack is currently up to date with the stack set.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STACKINSTANCESTATUS() |
Getter for STACKINSTANCESTATUS, with configurable default |
ASK_STACKINSTANCESTATUS() |
Getter for STACKINSTANCESTATUS w/ exceptions if field has no |
HAS_STACKINSTANCESTATUS() |
Determine if STACKINSTANCESTATUS has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_STACKINSTANCES¶
TYPES TT_STACKINSTANCES TYPE STANDARD TABLE OF REF TO /AWS1/CL_SCGSTACKINSTANCE WITH DEFAULT KEY
.