Show / Hide Table of Contents

Class CfnBackupPlanProps

Properties for defining a CfnBackupPlan.

Inheritance
object
CfnBackupPlanProps
Implements
ICfnBackupPlanProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBackupPlanProps : ICfnBackupPlanProps
Syntax (vb)
Public Class CfnBackupPlanProps Implements 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

Constructors

CfnBackupPlanProps()

Properties for defining a CfnBackupPlan.

Properties

BackupPlan

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

BackupPlanTags

The tags to assign to the backup plan.

Constructors

CfnBackupPlanProps()

Properties for defining a CfnBackupPlan.

public CfnBackupPlanProps()
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" }
                 }
             };

Properties

BackupPlan

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

public object BackupPlan { get; set; }
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.

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

IDictionary<string, string>

Remarks

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

Implements

ICfnBackupPlanProps
Back to top Generated by DocFX