Skip to content

/AWS1/CL_FRMTEMPLATECONF

The configuration details of a generated template.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_DELETIONPOLICY TYPE /AWS1/FRMGENERATEDTMPLDELETI00 /AWS1/FRMGENERATEDTMPLDELETI00

The DeletionPolicy assigned to resources in the generated template. Supported values are:

  • DELETE - delete all resources when the stack is deleted.

  • RETAIN - retain all resources when the stack is deleted.

For more information, see DeletionPolicy attribute in the CloudFormation User Guide.

IV_UPDATEREPLACEPOLICY TYPE /AWS1/FRMGENERATEDTMPLUPRPLPLY /AWS1/FRMGENERATEDTMPLUPRPLPLY

The UpdateReplacePolicy assigned to resources in the generated template. Supported values are:

  • DELETE - delete all resources when the resource is replaced during an update operation.

  • RETAIN - retain all resources when the resource is replaced during an update operation.

For more information, see UpdateReplacePolicy attribute in the CloudFormation User Guide.


Queryable Attributes

DeletionPolicy

The DeletionPolicy assigned to resources in the generated template. Supported values are:

  • DELETE - delete all resources when the stack is deleted.

  • RETAIN - retain all resources when the stack is deleted.

For more information, see DeletionPolicy attribute in the CloudFormation User Guide.

Accessible with the following methods

Method Description
GET_DELETIONPOLICY() Getter for DELETIONPOLICY, with configurable default
ASK_DELETIONPOLICY() Getter for DELETIONPOLICY w/ exceptions if field has no valu
HAS_DELETIONPOLICY() Determine if DELETIONPOLICY has a value

UpdateReplacePolicy

The UpdateReplacePolicy assigned to resources in the generated template. Supported values are:

  • DELETE - delete all resources when the resource is replaced during an update operation.

  • RETAIN - retain all resources when the resource is replaced during an update operation.

For more information, see UpdateReplacePolicy attribute in the CloudFormation User Guide.

Accessible with the following methods

Method Description
GET_UPDATEREPLACEPOLICY() Getter for UPDATEREPLACEPOLICY, with configurable default
ASK_UPDATEREPLACEPOLICY() Getter for UPDATEREPLACEPOLICY w/ exceptions if field has no
HAS_UPDATEREPLACEPOLICY() Determine if UPDATEREPLACEPOLICY has a value