pub struct BackupSelection {
pub iam_role_arn: String,
pub list_of_tags: Option<Vec<Condition>>,
pub resources: Option<Vec<String>>,
pub selection_name: String,
}
Expand description
Used to specify a set of resources to a backup plan.
Fields§
§iam_role_arn: String
The ARN of the IAM role that AWS Backup uses to authenticate when restoring the target resource; for example, arn:aws:iam::123456789012:role/S3Access
.
An array of conditions used to specify a set of resources to assign to a backup plan; for example, "STRINGEQUALS": {"ec2:ResourceTag/Department": "accounting"
.
resources: Option<Vec<String>>
An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.
selection_name: String
The display name of a resource selection document.
Trait Implementations§
Source§impl Clone for BackupSelection
impl Clone for BackupSelection
Source§fn clone(&self) -> BackupSelection
fn clone(&self) -> BackupSelection
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BackupSelection
impl Debug for BackupSelection
Source§impl Default for BackupSelection
impl Default for BackupSelection
Source§fn default() -> BackupSelection
fn default() -> BackupSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BackupSelection
impl<'de> Deserialize<'de> for BackupSelection
Source§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
Source§impl PartialEq for BackupSelection
impl PartialEq for BackupSelection
Source§impl Serialize for BackupSelection
impl Serialize for BackupSelection
impl StructuralPartialEq for BackupSelection
Auto Trait Implementations§
impl Freeze for BackupSelection
impl RefUnwindSafe for BackupSelection
impl Send for BackupSelection
impl Sync for BackupSelection
impl Unpin for BackupSelection
impl UnwindSafe for BackupSelection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more