Struct rusoto_dlm::Schedule [−][src]
pub struct Schedule { pub copy_tags: Option<bool>, pub create_rule: Option<CreateRule>, pub cross_region_copy_rules: Option<Vec<CrossRegionCopyRule>>, pub fast_restore_rule: Option<FastRestoreRule>, pub name: Option<String>, pub retain_rule: Option<RetainRule>, pub share_rules: Option<Vec<ShareRule>>, pub tags_to_add: Option<Vec<Tag>>, pub variable_tags: Option<Vec<Tag>>, }
Expand description
Specifies a backup schedule for a snapshot or AMI lifecycle policy.
Fields
Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.
create_rule: Option<CreateRule>
The creation rule.
cross_region_copy_rules: Option<Vec<CrossRegionCopyRule>>
The rule for cross-Region snapshot copies.
You can only specify cross-Region copy rules for policies that create snapshots in a Region. If the policy creates snapshots on an Outpost, then you cannot copy the snapshots to a Region or to an Outpost. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.
fast_restore_rule: Option<FastRestoreRule>
The rule for enabling fast snapshot restore.
name: Option<String>
The name of the schedule.
retain_rule: Option<RetainRule>
The retention rule.
The rule for sharing snapshots with other AWS accounts.
The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.
A collection of key/value pairs with values determined dynamically when the policy is executed. Keys may be any valid Amazon EC2 tag key. Values must be in one of the two following formats: $(instance-id)
or $(timestamp)
. Variable tags are only valid for EBS Snapshot Management – Instance policies.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Schedule
impl UnwindSafe for Schedule
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self