TimeToLiveSpecificationArgs

data class TimeToLiveSpecificationArgs(val attributeName: Output<String>? = null, val enabled: Output<Boolean>? = null) : ConvertibleToJava<TimeToLiveSpecificationArgs>

Definition of TimeToLiveSpecification

Constructors

Link copied to clipboard
constructor(attributeName: Output<String>? = null, enabled: Output<Boolean>? = null)

Properties

Link copied to clipboard
val attributeName: Output<String>? = null

The name of the TTL attribute used to store the expiration time for items in the table. + The `AttributeName` property is required when enabling the TTL, or when TTL is already enabled. + To update this property, you must first disable TTL and then enable TTL with the new attribute name.

Link copied to clipboard
val enabled: Output<Boolean>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): TimeToLiveSpecificationArgs