Class CfnBackupSelectionProps
Properties for defining a CfnBackupSelection.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBackupSelectionProps : ICfnBackupSelectionProps
Syntax (vb)
Public Class CfnBackupSelectionProps Implements ICfnBackupSelectionProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Backup;
var conditions;
var cfnBackupSelectionProps = new CfnBackupSelectionProps {
BackupPlanId = "backupPlanId",
BackupSelection = new BackupSelectionResourceTypeProperty {
IamRoleArn = "iamRoleArn",
SelectionName = "selectionName",
// the properties below are optional
Conditions = conditions,
ListOfTags = new [] { new ConditionResourceTypeProperty {
ConditionKey = "conditionKey",
ConditionType = "conditionType",
ConditionValue = "conditionValue"
} },
NotResources = new [] { "notResources" },
Resources = new [] { "resources" }
}
};
Synopsis
Constructors
| CfnBackupSelectionProps() | Properties for defining a |
Properties
| BackupPlanId | Uniquely identifies a backup plan. |
| BackupSelection | Specifies the body of a request to assign a set of resources to a backup plan. |
Constructors
CfnBackupSelectionProps()
Properties for defining a CfnBackupSelection.
public CfnBackupSelectionProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Backup;
var conditions;
var cfnBackupSelectionProps = new CfnBackupSelectionProps {
BackupPlanId = "backupPlanId",
BackupSelection = new BackupSelectionResourceTypeProperty {
IamRoleArn = "iamRoleArn",
SelectionName = "selectionName",
// the properties below are optional
Conditions = conditions,
ListOfTags = new [] { new ConditionResourceTypeProperty {
ConditionKey = "conditionKey",
ConditionType = "conditionType",
ConditionValue = "conditionValue"
} },
NotResources = new [] { "notResources" },
Resources = new [] { "resources" }
}
};
Properties
BackupPlanId
Uniquely identifies a backup plan.
public object BackupPlanId { get; set; }
Property Value
Remarks
BackupSelection
Specifies the body of a request to assign a set of resources to a backup plan.
public object BackupSelection { get; set; }
Property Value
Remarks
It includes an array of resources, an optional array of patterns to exclude resources, an optional role to provide access to the AWS service the resource belongs to, and an optional array of tags used to identify a set of resources.
Type union: either IResolvable or CfnBackupSelection.IBackupSelectionResourceTypeProperty