Skip to content

/AWS1/CL_DLMLIFECYCLEPOLICY

Information about a lifecycle policy.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_policyid TYPE /AWS1/DLMPOLICYID /AWS1/DLMPOLICYID

The identifier of the lifecycle policy.

iv_description TYPE /AWS1/DLMPOLICYDESCRIPTION /AWS1/DLMPOLICYDESCRIPTION

The description of the lifecycle policy.

iv_state TYPE /AWS1/DLMGETTBLPLYSTATEVALUES /AWS1/DLMGETTBLPLYSTATEVALUES

The activation state of the lifecycle policy.

iv_statusmessage TYPE /AWS1/DLMSTATUSMESSAGE /AWS1/DLMSTATUSMESSAGE

The description of the status.

iv_executionrolearn TYPE /AWS1/DLMEXECUTIONROLEARN /AWS1/DLMEXECUTIONROLEARN

The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

iv_datecreated TYPE /AWS1/DLMTIMESTAMP /AWS1/DLMTIMESTAMP

The local date and time when the lifecycle policy was created.

iv_datemodified TYPE /AWS1/DLMTIMESTAMP /AWS1/DLMTIMESTAMP

The local date and time when the lifecycle policy was last modified.

io_policydetails TYPE REF TO /AWS1/CL_DLMPOLICYDETAILS /AWS1/CL_DLMPOLICYDETAILS

The configuration of the lifecycle policy

it_tags TYPE /AWS1/CL_DLMTAGMAP_W=>TT_TAGMAP TT_TAGMAP

The tags.

iv_policyarn TYPE /AWS1/DLMPOLICYARN /AWS1/DLMPOLICYARN

The Amazon Resource Name (ARN) of the policy.

iv_defaultpolicy TYPE /AWS1/DLMDEFAULTPOLICY /AWS1/DLMDEFAULTPOLICY

Indicates whether the policy is a default lifecycle policy or a custom lifecycle policy.

  • true - the policy is a default policy.

  • false - the policy is a custom policy.


Queryable Attributes

PolicyId

The identifier of the lifecycle policy.

Accessible with the following methods

Method Description
GET_POLICYID() Getter for POLICYID, with configurable default
ASK_POLICYID() Getter for POLICYID w/ exceptions if field has no value
HAS_POLICYID() Determine if POLICYID has a value

Description

The description of the lifecycle policy.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

State

The activation state of the lifecycle policy.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value

StatusMessage

The description of the status.

Accessible with the following methods

Method Description
GET_STATUSMESSAGE() Getter for STATUSMESSAGE, with configurable default
ASK_STATUSMESSAGE() Getter for STATUSMESSAGE w/ exceptions if field has no value
HAS_STATUSMESSAGE() Determine if STATUSMESSAGE has a value

ExecutionRoleArn

The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

Accessible with the following methods

Method Description
GET_EXECUTIONROLEARN() Getter for EXECUTIONROLEARN, with configurable default
ASK_EXECUTIONROLEARN() Getter for EXECUTIONROLEARN w/ exceptions if field has no va
HAS_EXECUTIONROLEARN() Determine if EXECUTIONROLEARN has a value

DateCreated

The local date and time when the lifecycle policy was created.

Accessible with the following methods

Method Description
GET_DATECREATED() Getter for DATECREATED, with configurable default
ASK_DATECREATED() Getter for DATECREATED w/ exceptions if field has no value
HAS_DATECREATED() Determine if DATECREATED has a value

DateModified

The local date and time when the lifecycle policy was last modified.

Accessible with the following methods

Method Description
GET_DATEMODIFIED() Getter for DATEMODIFIED, with configurable default
ASK_DATEMODIFIED() Getter for DATEMODIFIED w/ exceptions if field has no value
HAS_DATEMODIFIED() Determine if DATEMODIFIED has a value

PolicyDetails

The configuration of the lifecycle policy

Accessible with the following methods

Method Description
GET_POLICYDETAILS() Getter for POLICYDETAILS

Tags

The tags.

Accessible with the following methods

Method Description
GET_TAGS() Getter for TAGS, with configurable default
ASK_TAGS() Getter for TAGS w/ exceptions if field has no value
HAS_TAGS() Determine if TAGS has a value

PolicyArn

The Amazon Resource Name (ARN) of the policy.

Accessible with the following methods

Method Description
GET_POLICYARN() Getter for POLICYARN, with configurable default
ASK_POLICYARN() Getter for POLICYARN w/ exceptions if field has no value
HAS_POLICYARN() Determine if POLICYARN has a value

DefaultPolicy

Indicates whether the policy is a default lifecycle policy or a custom lifecycle policy.

  • true - the policy is a default policy.

  • false - the policy is a custom policy.

Accessible with the following methods

Method Description
GET_DEFAULTPOLICY() Getter for DEFAULTPOLICY, with configurable default
ASK_DEFAULTPOLICY() Getter for DEFAULTPOLICY w/ exceptions if field has no value
HAS_DEFAULTPOLICY() Determine if DEFAULTPOLICY has a value