Skip to content

/AWS1/CL_DYNTIMETOLIVESPEC

Represents the settings used to enable or disable Time to Live (TTL) for the specified table.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_enabled TYPE /AWS1/DYNTIMETOLIVEENABLED /AWS1/DYNTIMETOLIVEENABLED

Indicates whether TTL is to be enabled (true) or disabled (false) on the table.

iv_attributename TYPE /AWS1/DYNTIMETOLIVEATTRNAME /AWS1/DYNTIMETOLIVEATTRNAME

The name of the TTL attribute used to store the expiration time for items in the table.


Queryable Attributes

Enabled

Indicates whether TTL is to be enabled (true) or disabled (false) on the table.

Accessible with the following methods

Method Description
GET_ENABLED() Getter for ENABLED, with configurable default
ASK_ENABLED() Getter for ENABLED w/ exceptions if field has no value
HAS_ENABLED() Determine if ENABLED has a value

AttributeName

The name of the TTL attribute used to store the expiration time for items in the table.

Accessible with the following methods

Method Description
GET_ATTRIBUTENAME() Getter for ATTRIBUTENAME, with configurable default
ASK_ATTRIBUTENAME() Getter for ATTRIBUTENAME w/ exceptions if field has no value
HAS_ATTRIBUTENAME() Determine if ATTRIBUTENAME has a value