Class LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs


  • public final class LifecyclePolicyPolicyDetailsScheduleDeprecateRuleArgs
    extends com.pulumi.resources.ResourceArgs
    • 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.