[][src]Struct rusoto_backup::BackupRuleInput

pub struct BackupRuleInput {
    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_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 will transition and expire 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>>

To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair.

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 BackupRuleInput[src]

impl Debug for BackupRuleInput[src]

impl Default for BackupRuleInput[src]

impl PartialEq<BackupRuleInput> for BackupRuleInput[src]

impl Serialize for BackupRuleInput[src]

impl StructuralPartialEq for BackupRuleInput[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> 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.