Interface ICfnBackupSelectionProps
Properties for defining a CfnBackupSelection
.
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnBackupSelectionProps
Syntax (vb)
Public Interface 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
Properties
BackupPlanId | Uniquely identifies a backup plan. |
BackupSelection | Specifies the body of a request to assign a set of resources to a backup plan. |
Properties
BackupPlanId
Uniquely identifies a backup plan.
string BackupPlanId { get; }
Property Value
System.String
Remarks
BackupSelection
Specifies the body of a request to assign a set of resources to a backup plan.
object BackupSelection { get; }
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.