AWSDynamoDBTimeToLiveSpecification

Objective-C

@interface AWSDynamoDBTimeToLiveSpecification

Swift

class 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 (nonatomic, strong) 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 (nonatomic, strong) NSNumber *_Nullable enabled;

    Swift

    var enabled: NSNumber? { get set }