aws::backup-selection

Creates backup selection.

Example

aws::backup-selection production
    backup-plan: $(aws::backup-plan backup)

    configuration
        name: production
        role: $(external-query aws::iam-role { name: 'AWSBackupDefaultServiceRole'})
        resources: [$(aws::db-cluster db-cluster-example).arn]
    end
end

Attributes

Attribute Description
backup-plan Tthe backup plan to be associated with the selection of resources. (Required)
configuration subresource

The body of a request to assign a set of resources to a backup plan. (Required)

role
The IAM role that AWS Backup uses to authenticate when backing up the target resource. (Required)
condition list subresource

The list of conditions used to specify a set of resources to assign to a backup plan.

key
The key in a key-value pair. (Required)
type
The operation that is applied to a key-value pair used to filter resources in a selection. Currently the only supported value is STRINGEQUALS. (Required)
value
The value in a key-value pair. (Required)
resources list
The list of strings that contain ARNs of resources to assign to a backup plan.
name
The display name of a resource selection document. (Required)
creator-request-id The ID that identifies the request and allows failed requests to be retried without the risk of running the operation twice.

Outputs

Attribute Description
id The ID of the backup selection.