Lifecycle Policy Policy Details Schedule Create Rule Args
data class LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs(val cronExpression: Output<String>? = null, val interval: Output<Int>? = null, val intervalUnit: Output<String>? = null, val location: Output<String>? = null, val times: Output<String>? = null) : ConvertibleToJava<LifecyclePolicyPolicyDetailsScheduleCreateRuleArgs>
Constructors
Properties
Link copied to clipboard
The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. Conflicts with interval
, interval_unit
, and times
.
Link copied to clipboard
Link copied to clipboard
Specifies the destination for snapshots created by the policy. To create snapshots in the same Region as the source resource, specify CLOUD
. To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL
. If you omit this parameter, CLOUD
is used by default. If the policy targets resources in an AWS Region, then you must create snapshots in the same Region as the source resource. If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost as the source resource, or in the Region of that Outpost. Valid values are CLOUD
and OUTPOST_LOCAL
.