[][src]Struct rusoto_backup::BackupRule

pub struct BackupRule {
    pub completion_window_minutes: Option<i64>,
    pub copy_actions: Option<Vec<CopyAction>>,
    pub lifecycle: Option<Lifecycle>,
    pub recovery_point_tags: Option<HashMap<String, String>>,
    pub rule_id: Option<String>,
    pub rule_name: String,
    pub schedule_expression: Option<String>,
    pub start_window_minutes: Option<i64>,
    pub target_backup_vault_name: String,
}

Specifies a scheduled task used to back up a selection of resources.

Fields

completion_window_minutes: Option<i64>

A value in minutes after a backup job is successfully started before it must be completed or it will be canceled by AWS Backup. This value is optional.

copy_actions: Option<Vec<CopyAction>>

An array of CopyAction objects, which contains the details of the copy operation.

lifecycle: Option<Lifecycle>

The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup transitions and expires backups automatically according to the lifecycle that you define.

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

recovery_point_tags: Option<HashMap<String, String>>

An array of key-value pair strings that are assigned to resources that are associated with this rule when restored from backup.

rule_id: Option<String>

Uniquely identifies a rule that is used to schedule the backup of a selection of resources.

rule_name: String

An optional display name for a backup rule.

schedule_expression: Option<String>

A CRON expression specifying when AWS Backup initiates a backup job.

start_window_minutes: Option<i64>

A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully. This value is optional.

target_backup_vault_name: String

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.

Trait Implementations

impl Clone for BackupRule[src]

impl Debug for BackupRule[src]

impl Default for BackupRule[src]

impl<'de> Deserialize<'de> for BackupRule[src]

impl PartialEq<BackupRule> for BackupRule[src]

impl StructuralPartialEq for BackupRule[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.