AWSDynamoDBTimeToLiveSpecification

@interface AWSDynamoDBTimeToLiveSpecification

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

Required parameters: [Enabled, AttributeName]

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

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable attributeName;

    Swift

    var attributeName: String? { get set }
  • Indicates whether TTL is to be enabled (true) or disabled (false) on the table.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable enabled;

    Swift

    var enabled: NSNumber? { get set }