class Aws::Backup::Types::BackupSelection
Used to specify a set of resources to a backup plan.
@note When making an API call, you may pass BackupSelection
data as a 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 }, ], }
@!attribute [rw] selection_name
The display name of a resource selection document. @return [String]
@!attribute [rw] iam_role_arn
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`. @return [String]
@!attribute [rw] resources
An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan. @return [Array<String>]
@!attribute [rw] list_of_tags
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. @return [Array<Types::Condition>]
@see docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupSelection AWS API Documentation
Constants
- SENSITIVE