Interface CfnBackupPlan.IBackupPlanResourceTypeProperty
Specifies an object containing properties used to create a backup plan.
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnBackupPlan.IBackupPlanResourceTypeProperty
Syntax (vb)
Public Interface 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,
OptInToArchiveForSupportedResources = false
}
} },
EnableContinuousBackup = false,
IndexActions = new [] { new IndexActionsResourceTypeProperty {
ResourceTypes = new [] { "resourceTypes" }
} },
Lifecycle = new LifecycleResourceTypeProperty {
DeleteAfterDays = 123,
MoveToColdStorageAfterDays = 123,
OptInToArchiveForSupportedResources = false
},
RecoveryPointTags = new Dictionary<string, string> {
{ "recoveryPointTagsKey", "recoveryPointTags" }
},
ScanActions = new [] { new ScanActionResourceTypeProperty {
MalwareScanner = "malwareScanner",
ScanMode = "scanMode"
} },
ScheduleExpression = "scheduleExpression",
ScheduleExpressionTimezone = "scheduleExpressionTimezone",
StartWindowMinutes = 123,
TargetLogicallyAirGappedBackupVaultArn = "targetLogicallyAirGappedBackupVaultArn"
} },
// the properties below are optional
AdvancedBackupSettings = new [] { new AdvancedBackupSettingResourceTypeProperty {
BackupOptions = backupOptions,
ResourceType = "resourceType"
} },
ScanSettings = new [] { new ScanSettingResourceTypeProperty {
MalwareScanner = "malwareScanner",
ResourceTypes = new [] { "resourceTypes" },
ScannerRoleArn = "scannerRoleArn"
} }
};
Synopsis
Properties
| AdvancedBackupSettings | A list of backup options for each resource type. |
| BackupPlanName | The display name of a backup plan. |
| BackupPlanRule | An array of |
| ScanSettings | Specifies an object containing properties used to create a backup plan. |
Properties
AdvancedBackupSettings
A list of backup options for each resource type.
object? AdvancedBackupSettings { get; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnBackupPlan.IAdvancedBackupSettingResourceTypeProperty)[]
BackupPlanName
The display name of a backup plan.
string BackupPlanName { get; }
Property Value
Remarks
BackupPlanRule
An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources.
object BackupPlanRule { get; }
Property Value
Remarks
ScanSettings
Specifies an object containing properties used to create a backup plan.
object? ScanSettings { get; }