Show / Hide Table of Contents

Interface ICfnBackupPlanProps

Properties for defining a CfnBackupPlan.

Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnBackupPlanProps
Syntax (vb)
Public Interface ICfnBackupPlanProps
Remarks

See: 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,
                                 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"
                     } }
                 },

                 // the properties below are optional
                 BackupPlanTags = new Dictionary<string, string> {
                     { "backupPlanTagsKey", "backupPlanTags" }
                 }
             };

Synopsis

Properties

BackupPlan

Uniquely identifies the backup plan to be associated with the selection of resources.

BackupPlanTags

The tags to assign to the backup plan.

Properties

BackupPlan

Uniquely identifies the backup plan to be associated with the selection of resources.

object BackupPlan { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupplan.html#cfn-backup-backupplan-backupplan

Type union: either IResolvable or CfnBackupPlan.IBackupPlanResourceTypeProperty

BackupPlanTags

The tags to assign to the backup plan.

IDictionary<string, string>? BackupPlanTags { get; }
Property Value

IDictionary<string, string>

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupplan.html#cfn-backup-backupplan-backupplantags

Back to top Generated by DocFX