Create Backup Selection
backup_create_backup_selection | R Documentation |
Creates a JSON document that specifies a set of resources to assign to a backup plan¶
Description¶
Creates a JSON document that specifies a set of resources to assign to a backup plan. For examples, see Assigning resources programmatically.
Usage¶
Arguments¶
BackupPlanId
[required] The ID of the backup plan.
BackupSelection
[required] The body of a request to assign a set of resources to a backup plan.
CreatorRequestId
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_backup_selection(
BackupPlanId = "string",
BackupSelection = list(
SelectionName = "string",
IamRoleArn = "string",
Resources = list(
"string"
),
ListOfTags = list(
list(
ConditionType = "STRINGEQUALS",
ConditionKey = "string",
ConditionValue = "string"
)
),
NotResources = list(
"string"
),
Conditions = list(
StringEquals = list(
list(
ConditionKey = "string",
ConditionValue = "string"
)
),
StringNotEquals = list(
list(
ConditionKey = "string",
ConditionValue = "string"
)
),
StringLike = list(
list(
ConditionKey = "string",
ConditionValue = "string"
)
),
StringNotLike = list(
list(
ConditionKey = "string",
ConditionValue = "string"
)
)
)
),
CreatorRequestId = "string"
)