Interface CfnLifecyclePolicy.CreateRuleProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnLifecyclePolicy.CreateRuleProperty extends
[Custom snapshot and AMI policies only] Specifies when the policy should create snapshots or AMIs.

  • You must specify either CronExpression , or Interval , IntervalUnit , and Times .
  • If you need to specify an ArchiveRule for the schedule, then you must specify a creation frequency of at least 28 days.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CreateRuleProperty createRuleProperty = CreateRuleProperty.builder()

See Also: