TableTimeToLiveSpecification

data class TableTimeToLiveSpecification(val attributeName: String? = null, val enabled: Boolean)

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val attributeName: 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.

Link copied to clipboard

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