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_tags: Option<bool>

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.

share_rules: Option<Vec<ShareRule>>

The rule for sharing snapshots with other AWS accounts.

tags_to_add: Option<Vec<Tag>>

The tags to apply to policy-created resources. These user-defined tags are in addition to the AWS-added lifecycle tags.

variable_tags: Option<Vec<Tag>>

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.