LifecyclePolicyPolicyDetailExclusionRulesAmisLastLaunchedArgs

data class LifecyclePolicyPolicyDetailExclusionRulesAmisLastLaunchedArgs(val unit: Output<String>, val value: Output<Int>) : ConvertibleToJava<LifecyclePolicyPolicyDetailExclusionRulesAmisLastLaunchedArgs>

Constructors

constructor(unit: Output<String>, value: Output<Int>)

Properties

Link copied to clipboard
val unit: Output<String>

Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI. For example: days, weeks, months, or years. Valid values: DAYS, WEEKS, MONTHS or YEARS.

Link copied to clipboard
val value: Output<Int>

The integer number of units for the time period. For example 6 (months).

Functions

Link copied to clipboard
open override fun toJava(): LifecyclePolicyPolicyDetailExclusionRulesAmisLastLaunchedArgs