Class CfnBackupPlanProps
Properties for defining a CfnBackupPlan
.
Inheritance
System.Object
CfnBackupPlanProps
Implements
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.AWS.Backup.dll
Syntax (csharp)
public class CfnBackupPlanProps : Object, ICfnBackupPlanProps
Syntax (vb)
Public Class CfnBackupPlanProps
Inherits Object
Implements ICfnBackupPlanProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupplan.html
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 backupOptions;
var cfnBackupPlanProps = new CfnBackupPlanProps {
BackupPlan = new BackupPlanResourceTypeProperty {
BackupPlanName = "backupPlanName",
BackupPlanRule = new [] { new BackupRuleResourceTypeProperty {
RuleName = "ruleName",
TargetBackupVault = "targetBackupVault",
// the properties below are optional
CompletionWindowMinutes = 123,
CopyActions = new [] { new CopyActionResourceTypeProperty {
DestinationBackupVaultArn = "destinationBackupVaultArn",
// the properties below are optional
Lifecycle = new LifecycleResourceTypeProperty {
DeleteAfterDays = 123,
MoveToColdStorageAfterDays = 123
}
} },
EnableContinuousBackup = false,
Lifecycle = new LifecycleResourceTypeProperty {
DeleteAfterDays = 123,
MoveToColdStorageAfterDays = 123
},
RecoveryPointTags = new Dictionary<string, string> {
{ "recoveryPointTagsKey", "recoveryPointTags" }
},
ScheduleExpression = "scheduleExpression",
StartWindowMinutes = 123
} },
// the properties below are optional
AdvancedBackupSettings = new [] { new AdvancedBackupSettingResourceTypeProperty {
BackupOptions = backupOptions,
ResourceType = "resourceType"
} }
},
// the properties below are optional
BackupPlanTags = new Dictionary<string, string> {
{ "backupPlanTagsKey", "backupPlanTags" }
}
};
Synopsis
Constructors
CfnBackupPlanProps() |
Properties
BackupPlan | Uniquely identifies the backup plan to be associated with the selection of resources. |
BackupPlanTags | To help organize your resources, you can assign your own metadata to the resources that you create. |
Constructors
CfnBackupPlanProps()
public CfnBackupPlanProps()
Properties
BackupPlan
Uniquely identifies the backup plan to be associated with the selection of resources.
public object BackupPlan { get; set; }
Property Value
System.Object
Remarks
BackupPlanTags
To help organize your resources, you can assign your own metadata to the resources that you create.
public object BackupPlanTags { get; set; }
Property Value
System.Object
Remarks
Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.