Class CfnBackupPlan.BackupPlanResourceTypeProperty
Specifies an object containing properties used to create a backup plan.
Inheritance
System.Object
CfnBackupPlan.BackupPlanResourceTypeProperty
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.AWS.Backup.dll
Syntax (csharp)
public class BackupPlanResourceTypeProperty : Object, CfnBackupPlan.IBackupPlanResourceTypeProperty
Syntax (vb)
Public Class BackupPlanResourceTypeProperty
Inherits Object
Implements CfnBackupPlan.IBackupPlanResourceTypeProperty
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 backupOptions;
var backupPlanResourceTypeProperty = 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"
} }
};
Synopsis
Constructors
BackupPlanResourceTypeProperty() |
Properties
AdvancedBackupSettings | A list of backup options for each resource type. |
BackupPlanName | The display name of a backup plan. |
BackupPlanRule | An array of |
Constructors
BackupPlanResourceTypeProperty()
public BackupPlanResourceTypeProperty()
Properties
AdvancedBackupSettings
A list of backup options for each resource type.
public object AdvancedBackupSettings { get; set; }
Property Value
System.Object
Remarks
BackupPlanName
The display name of a backup plan.
public string BackupPlanName { get; set; }
Property Value
System.String
Remarks
BackupPlanRule
An array of BackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.
public object BackupPlanRule { get; set; }
Property Value
System.Object