RetainRule

public struct RetainRule : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The number of snapshots to retain for each volume, up to a maximum of 1000.

    Declaration

    Swift

    public let count: Int?
  • The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.

    Declaration

    Swift

    public let interval: Int?
  • The unit of time for time-based retention.

    Declaration

    Swift

    public let intervalUnit: RetentionIntervalUnitValues?
  • Undocumented

    Declaration

    Swift

    public init(count: Int? = nil, interval: Int? = nil, intervalUnit: RetentionIntervalUnitValues? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws