Struct aws_sdk_backup::model::BackupSelection [−][src]
#[non_exhaustive]pub struct BackupSelection {
pub selection_name: Option<String>,
pub iam_role_arn: Option<String>,
pub resources: Option<Vec<String>>,
pub list_of_tags: Option<Vec<Condition>>,
}
Expand description
Used to specify a set of resources to a backup plan.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.selection_name: Option<String>
The display name of a resource selection document.
iam_role_arn: Option<String>
The ARN of the IAM role that Backup uses to authenticate when backing up the
target resource; for example, arn:aws:iam::123456789012:role/S3Access
.
resources: Option<Vec<String>>
An array of strings that contain Amazon Resource Names (ARNs)
of resources to assign to a backup plan.
An array of conditions used to specify a set of resources to assign to a backup plan;
for example, "StringEquals": {"ec2:ResourceTag/Department": "accounting"
.
Assigns the backup plan to every resource with at least one matching tag.
Implementations
Creates a new builder-style object to manufacture BackupSelection
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BackupSelection
impl Send for BackupSelection
impl Sync for BackupSelection
impl Unpin for BackupSelection
impl UnwindSafe for BackupSelection
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more