/AWS1/CL_FRMRESOURCECHANGE¶
The ResourceChange
structure describes the resource and the action that
CloudFormation will perform on it if you execute this change set.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
IV_POLICYACTION
TYPE /AWS1/FRMPOLICYACTION
/AWS1/FRMPOLICYACTION
¶
The action that will be taken on the physical resource when the change set is executed.
Delete
The resource will be deleted.
Retain
The resource will be retained.
Snapshot
The resource will have a snapshot taken.
ReplaceAndDelete
The resource will be replaced and then deleted.
ReplaceAndRetain
The resource will be replaced and then retained.
ReplaceAndSnapshot
The resource will be replaced and then have a snapshot taken.
IV_ACTION
TYPE /AWS1/FRMCHANGEACTION
/AWS1/FRMCHANGEACTION
¶
The action that CloudFormation takes on the resource, such as
Add
(adds a new resource),Modify
(changes a resource),Remove
(deletes a resource),Import
(imports a resource), orDynamic
(exact action for the resource can't be determined).
IV_LOGICALRESOURCEID
TYPE /AWS1/FRMLOGICALRESOURCEID
/AWS1/FRMLOGICALRESOURCEID
¶
The resource's logical ID, which is defined in the stack's template.
IV_PHYSICALRESOURCEID
TYPE /AWS1/FRMPHYSICALRESOURCEID
/AWS1/FRMPHYSICALRESOURCEID
¶
The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they haven't been created.
IV_RESOURCETYPE
TYPE /AWS1/FRMRESOURCETYPE
/AWS1/FRMRESOURCETYPE
¶
The type of CloudFormation resource, such as
AWS::S3::Bucket
.
IV_REPLACEMENT
TYPE /AWS1/FRMREPLACEMENT
/AWS1/FRMREPLACEMENT
¶
For the
Modify
action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of theRequiresRecreation
property in theResourceTargetDefinition
structure. For example, if theRequiresRecreation
field isAlways
and theEvaluation
field isStatic
,Replacement
isTrue
. If theRequiresRecreation
field isAlways
and theEvaluation
field isDynamic
,Replacement
isConditional
.If you have multiple changes with different
RequiresRecreation
values, theReplacement
value depends on the change with the most impact. ARequiresRecreation
value ofAlways
has the most impact, followed byConditional
, and thenNever
.
IT_SCOPE
TYPE /AWS1/CL_FRMSCOPE_W=>TT_SCOPE
TT_SCOPE
¶
For the
Modify
action, indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata
,Properties
, orTags
.
IT_DETAILS
TYPE /AWS1/CL_FRMRESOURCECHANGEDET=>TT_RESOURCECHANGEDETAILS
TT_RESOURCECHANGEDETAILS
¶
For the
Modify
action, a list ofResourceChangeDetail
structures that describes the changes that CloudFormation will make to the resource.
IV_CHANGESETID
TYPE /AWS1/FRMCHANGESETID
/AWS1/FRMCHANGESETID
¶
The change set ID of the nested change set.
IO_MODULEINFO
TYPE REF TO /AWS1/CL_FRMMODULEINFO
/AWS1/CL_FRMMODULEINFO
¶
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
IV_BEFORECONTEXT
TYPE /AWS1/FRMBEFORECONTEXT
/AWS1/FRMBEFORECONTEXT
¶
An encoded JSON string containing the context of the resource before the change is executed.
IV_AFTERCONTEXT
TYPE /AWS1/FRMAFTERCONTEXT
/AWS1/FRMAFTERCONTEXT
¶
An encoded JSON string containing the context of the resource after the change is executed.
Queryable Attributes¶
PolicyAction¶
The action that will be taken on the physical resource when the change set is executed.
Delete
The resource will be deleted.
Retain
The resource will be retained.
Snapshot
The resource will have a snapshot taken.
ReplaceAndDelete
The resource will be replaced and then deleted.
ReplaceAndRetain
The resource will be replaced and then retained.
ReplaceAndSnapshot
The resource will be replaced and then have a snapshot taken.
Accessible with the following methods¶
Method | Description |
---|---|
GET_POLICYACTION() |
Getter for POLICYACTION, with configurable default |
ASK_POLICYACTION() |
Getter for POLICYACTION w/ exceptions if field has no value |
HAS_POLICYACTION() |
Determine if POLICYACTION has a value |
Action¶
The action that CloudFormation takes on the resource, such as
Add
(adds a new resource),Modify
(changes a resource),Remove
(deletes a resource),Import
(imports a resource), orDynamic
(exact action for the resource can't be determined).
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 |
LogicalResourceId¶
The resource's logical ID, which is defined in the stack's template.
Accessible with the following methods¶
Method | Description |
---|---|
GET_LOGICALRESOURCEID() |
Getter for LOGICALRESOURCEID, with configurable default |
ASK_LOGICALRESOURCEID() |
Getter for LOGICALRESOURCEID w/ exceptions if field has no v |
HAS_LOGICALRESOURCEID() |
Determine if LOGICALRESOURCEID has a value |
PhysicalResourceId¶
The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they haven't been created.
Accessible with the following methods¶
Method | Description |
---|---|
GET_PHYSICALRESOURCEID() |
Getter for PHYSICALRESOURCEID, with configurable default |
ASK_PHYSICALRESOURCEID() |
Getter for PHYSICALRESOURCEID w/ exceptions if field has no |
HAS_PHYSICALRESOURCEID() |
Determine if PHYSICALRESOURCEID has a value |
ResourceType¶
The type of CloudFormation resource, such as
AWS::S3::Bucket
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_RESOURCETYPE() |
Getter for RESOURCETYPE, with configurable default |
ASK_RESOURCETYPE() |
Getter for RESOURCETYPE w/ exceptions if field has no value |
HAS_RESOURCETYPE() |
Determine if RESOURCETYPE has a value |
Replacement¶
For the
Modify
action, indicates whether CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of theRequiresRecreation
property in theResourceTargetDefinition
structure. For example, if theRequiresRecreation
field isAlways
and theEvaluation
field isStatic
,Replacement
isTrue
. If theRequiresRecreation
field isAlways
and theEvaluation
field isDynamic
,Replacement
isConditional
.If you have multiple changes with different
RequiresRecreation
values, theReplacement
value depends on the change with the most impact. ARequiresRecreation
value ofAlways
has the most impact, followed byConditional
, and thenNever
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_REPLACEMENT() |
Getter for REPLACEMENT, with configurable default |
ASK_REPLACEMENT() |
Getter for REPLACEMENT w/ exceptions if field has no value |
HAS_REPLACEMENT() |
Determine if REPLACEMENT has a value |
Scope¶
For the
Modify
action, indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata
,Properties
, orTags
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SCOPE() |
Getter for SCOPE, with configurable default |
ASK_SCOPE() |
Getter for SCOPE w/ exceptions if field has no value |
HAS_SCOPE() |
Determine if SCOPE has a value |
Details¶
For the
Modify
action, a list ofResourceChangeDetail
structures that describes the changes that CloudFormation will make to the resource.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DETAILS() |
Getter for DETAILS, with configurable default |
ASK_DETAILS() |
Getter for DETAILS w/ exceptions if field has no value |
HAS_DETAILS() |
Determine if DETAILS has a value |
ChangeSetId¶
The change set ID of the nested change set.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CHANGESETID() |
Getter for CHANGESETID, with configurable default |
ASK_CHANGESETID() |
Getter for CHANGESETID w/ exceptions if field has no value |
HAS_CHANGESETID() |
Determine if CHANGESETID has a value |
ModuleInfo¶
Contains information about the module from which the resource was created, if the resource was created from a module included in the stack template.
Accessible with the following methods¶
Method | Description |
---|---|
GET_MODULEINFO() |
Getter for MODULEINFO |
BeforeContext¶
An encoded JSON string containing the context of the resource before the change is executed.
Accessible with the following methods¶
Method | Description |
---|---|
GET_BEFORECONTEXT() |
Getter for BEFORECONTEXT, with configurable default |
ASK_BEFORECONTEXT() |
Getter for BEFORECONTEXT w/ exceptions if field has no value |
HAS_BEFORECONTEXT() |
Determine if BEFORECONTEXT has a value |
AfterContext¶
An encoded JSON string containing the context of the resource after the change is executed.
Accessible with the following methods¶
Method | Description |
---|---|
GET_AFTERCONTEXT() |
Getter for AFTERCONTEXT, with configurable default |
ASK_AFTERCONTEXT() |
Getter for AFTERCONTEXT w/ exceptions if field has no value |
HAS_AFTERCONTEXT() |
Determine if AFTERCONTEXT has a value |