AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Used to specify a set of resources to a backup plan.
Specifying your desired Conditions
, ListOfTags
, NotResources
,
and/or Resources
is recommended. If none of these are specified, Backup will
attempt to select all supported and opted-in storage resources, which could have unintended
cost implications.
Namespace: Amazon.Backup.Model
Assembly: AWSSDK.Backup.dll
Version: 3.x.y.z
public class BackupSelection
The BackupSelection type exposes the following members
Name | Description | |
---|---|---|
BackupSelection() |
Name | Type | Description | |
---|---|---|---|
Conditions | Amazon.Backup.Model.Conditions |
Gets and sets the property Conditions.
A list of conditions that you define to assign resources to your backup plans using
tags. For example,
|
|
IamRoleArn | System.String |
Gets and sets the property IamRoleArn.
The ARN of the IAM role that Backup uses to authenticate when backing up the target
resource; for example, |
|
ListOfTags | System.Collections.Generic.List<Amazon.Backup.Model.Condition> |
Gets and sets the property ListOfTags.
A list of conditions that you define to assign resources to your backup plans using
tags. For example,
|
|
NotResources | System.Collections.Generic.List<System.String> |
Gets and sets the property NotResources. A list of Amazon Resource Names (ARNs) to exclude from a backup plan. The maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards. If you need to exclude many resources from a backup plan, consider a different resource selection strategy, such as assigning only one or a few resource types or refining your resource selection using tags. |
|
Resources | System.Collections.Generic.List<System.String> |
Gets and sets the property Resources. A list of Amazon Resource Names (ARNs) to assign to a backup plan. The maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards. If you need to assign many resources to a backup plan, consider a different resource selection strategy, such as assigning all resources of a resource type or refining your resource selection using tags. |
|
SelectionName | System.String |
Gets and sets the property SelectionName. The display name of a resource selection document. Must contain 1 to 50 alphanumeric or '-_.' characters. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5