Skip to content

/AWS1/CL_S3_LIFECYCLEEXPIR

Container for the expiration for the lifecycle of the object.

For more information see, Managing your storage lifecycle in the Amazon S3 User Guide.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_date TYPE /AWS1/S3_DATE /AWS1/S3_DATE

Indicates at what date the object is to be moved or deleted. The date value must conform to the ISO 8601 format. The time is always midnight UTC.

This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.

iv_days TYPE /AWS1/S3_DAYS /AWS1/S3_DAYS

Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.

iv_expiredobjectdeletemarker TYPE /AWS1/S3_EXPIREDOBJDELMARKER /AWS1/S3_EXPIREDOBJDELMARKER

Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired; if set to false the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.

This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.


Queryable Attributes

Date

Indicates at what date the object is to be moved or deleted. The date value must conform to the ISO 8601 format. The time is always midnight UTC.

This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.

Accessible with the following methods

Method Description
GET_DATE() Getter for DATE, with configurable default
ASK_DATE() Getter for DATE w/ exceptions if field has no value
HAS_DATE() Determine if DATE has a value

Days

Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.

Accessible with the following methods

Method Description
GET_DAYS() Getter for DAYS, with configurable default
ASK_DAYS() Getter for DAYS w/ exceptions if field has no value
HAS_DAYS() Determine if DAYS has a value

ExpiredObjectDeleteMarker

Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired; if set to false the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.

This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.

Accessible with the following methods

Method Description
GET_EXPIREDOBJDELETEMARKER() Getter for EXPIREDOBJECTDELETEMARKER, with configurable defa
ASK_EXPIREDOBJDELETEMARKER() Getter for EXPIREDOBJECTDELETEMARKER w/ exceptions if field
HAS_EXPIREDOBJDELETEMARKER() Determine if EXPIREDOBJECTDELETEMARKER has a value