Class CfnBackupPlanPropsMixin.BackupPlanResourceTypeProperty
Specifies an object containing properties used to create a backup plan.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Backup
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnBackupPlanPropsMixin.BackupPlanResourceTypeProperty : CfnBackupPlanPropsMixin.IBackupPlanResourceTypeProperty
Syntax (vb)
Public Class CfnBackupPlanPropsMixin.BackupPlanResourceTypeProperty Implements CfnBackupPlanPropsMixin.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.CfnPropertyMixins.AWS.Backup;
var backupOptions;
var backupPlanResourceTypeProperty = new BackupPlanResourceTypeProperty {
AdvancedBackupSettings = new [] { new AdvancedBackupSettingResourceTypeProperty {
BackupOptions = backupOptions,
ResourceType = "resourceType"
} },
BackupPlanName = "backupPlanName",
BackupPlanRule = new [] { new BackupRuleResourceTypeProperty {
CompletionWindowMinutes = 123,
CopyActions = new [] { new CopyActionResourceTypeProperty {
DestinationBackupVaultArn = "destinationBackupVaultArn",
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" }
},
RuleName = "ruleName",
ScanActions = new [] { new ScanActionResourceTypeProperty {
MalwareScanner = "malwareScanner",
ScanMode = "scanMode"
} },
ScheduleExpression = "scheduleExpression",
ScheduleExpressionTimezone = "scheduleExpressionTimezone",
StartWindowMinutes = 123,
TargetBackupVault = "targetBackupVault",
TargetLogicallyAirGappedBackupVaultArn = "targetLogicallyAirGappedBackupVaultArn"
} },
ScanSettings = new [] { new ScanSettingResourceTypeProperty {
MalwareScanner = "malwareScanner",
ResourceTypes = new [] { "resourceTypes" },
ScannerRoleArn = "scannerRoleArn"
} }
};
Synopsis
Constructors
| BackupPlanResourceTypeProperty() | Specifies an object containing properties used to create a backup plan. |
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. |
Constructors
BackupPlanResourceTypeProperty()
Specifies an object containing properties used to create a backup plan.
public BackupPlanResourceTypeProperty()
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.CfnPropertyMixins.AWS.Backup;
var backupOptions;
var backupPlanResourceTypeProperty = new BackupPlanResourceTypeProperty {
AdvancedBackupSettings = new [] { new AdvancedBackupSettingResourceTypeProperty {
BackupOptions = backupOptions,
ResourceType = "resourceType"
} },
BackupPlanName = "backupPlanName",
BackupPlanRule = new [] { new BackupRuleResourceTypeProperty {
CompletionWindowMinutes = 123,
CopyActions = new [] { new CopyActionResourceTypeProperty {
DestinationBackupVaultArn = "destinationBackupVaultArn",
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" }
},
RuleName = "ruleName",
ScanActions = new [] { new ScanActionResourceTypeProperty {
MalwareScanner = "malwareScanner",
ScanMode = "scanMode"
} },
ScheduleExpression = "scheduleExpression",
ScheduleExpressionTimezone = "scheduleExpressionTimezone",
StartWindowMinutes = 123,
TargetBackupVault = "targetBackupVault",
TargetLogicallyAirGappedBackupVaultArn = "targetLogicallyAirGappedBackupVaultArn"
} },
ScanSettings = new [] { new ScanSettingResourceTypeProperty {
MalwareScanner = "malwareScanner",
ResourceTypes = new [] { "resourceTypes" },
ScannerRoleArn = "scannerRoleArn"
} }
};
Properties
AdvancedBackupSettings
A list of backup options for each resource type.
public object? AdvancedBackupSettings { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnBackupPlanPropsMixin.IAdvancedBackupSettingResourceTypeProperty)[]
BackupPlanName
The display name of a backup plan.
public string? BackupPlanName { get; set; }
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.
public object? BackupPlanRule { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnBackupPlanPropsMixin.IBackupRuleResourceTypeProperty)[]
ScanSettings
Specifies an object containing properties used to create a backup plan.
public object? ScanSettings { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnBackupPlanPropsMixin.IScanSettingResourceTypeProperty)[]