Class CfnBackupSelectionProps
Properties for defining a CfnBackupSelection
.
Inheritance
System.Object
CfnBackupSelectionProps
Implements
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBackupSelectionProps : Object, ICfnBackupSelectionProps
Syntax (vb)
Public Class CfnBackupSelectionProps
Inherits Object
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
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()
public CfnBackupSelectionProps()
Properties
BackupPlanId
Uniquely identifies a backup plan.
public string BackupPlanId { get; set; }
Property Value
System.String
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
System.Object
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.