Package com.pulumi.aws.dlm.inputs
Class LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.dlm.inputs.LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs
-
public final class LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs.Builder
builder()
static LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs.Builder
builder(LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
count()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
interval()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
intervalUnit()
-
-
-
Field Detail
-
Empty
public static final LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs Empty
-
-
Method Detail
-
count
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> count()
- Returns:
- Specifies the number of oldest AMIs to deprecate. Must be an integer between `1` and `1000`. Conflicts with `interval` and `interval_unit`.
-
interval
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> interval()
- Returns:
- How often this lifecycle policy should be evaluated. `1`, `2`,`3`,`4`,`6`,`8`,`12` or `24` are valid values. Conflicts with `cron_expression`. If set, `interval_unit` and `times` must also be set.
-
intervalUnit
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> intervalUnit()
- Returns:
- The unit for how often the lifecycle policy should be evaluated. `HOURS` is currently the only allowed value and also the default value. Conflicts with `cron_expression`. Must be set if `interval` is set.
-
builder
public static LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs.Builder builder()
-
builder
public static LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs.Builder builder(LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs defaults)
-
-