LifecyclePolicyPolicyDetailsScheduleRetainRule

data class LifecyclePolicyPolicyDetailsScheduleRetainRule(val count: Int? = null, val interval: Int? = null, val intervalUnit: String? = null)

Constructors

constructor(count: Int? = null, interval: Int? = null, intervalUnit: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val count: Int? = null

Specifies the number of oldest AMIs to deprecate. Must be an integer between 1 and 1000.

Link copied to clipboard
val interval: Int? = null

How often this lifecycle policy should be evaluated. 1, 2,3,4,6,8,12 or 24 are valid values.

Link copied to clipboard
val intervalUnit: String? = null

The unit for how often the lifecycle policy should be evaluated. HOURS is currently the only allowed value and also the default value.