You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Backup::Types::BackupSelection
- Inherits:
-
Struct
- Object
- Struct
- Aws::Backup::Types::BackupSelection
- Defined in:
- (unknown)
Overview
When passing BackupSelection as input to an Aws::Client method, you can use a vanilla Hash:
{
selection_name: "BackupSelectionName", # required
iam_role_arn: "IAMRoleArn", # required
resources: ["ARN"],
list_of_tags: [
{
condition_type: "STRINGEQUALS", # required, accepts STRINGEQUALS
condition_key: "ConditionKey", # required
condition_value: "ConditionValue", # required
},
],
}
Used to specify a set of resources to a backup plan.
Returned by:
Instance Attribute Summary collapse
-
#iam_role_arn ⇒ String
The ARN of the IAM role that AWS Backup uses to authenticate when backing up the target resource; for example,
arn:aws:iam::123456789012:role/S3Access
. -
#list_of_tags ⇒ Array<Types::Condition>
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 ⇒ Array<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.
Instance Attribute Details
#iam_role_arn ⇒ String
The ARN of the IAM role that AWS Backup uses to authenticate when
backing up the target resource; for example,
arn:aws:iam::123456789012:role/S3Access
.
#list_of_tags ⇒ Array<Types::Condition>
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 ⇒ Array<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.