Show / Hide Table of Contents

Class CfnBackupSelectionProps

Properties for defining a CfnBackupSelection.

Inheritance
object
CfnBackupSelectionProps
Implements
ICfnBackupSelectionProps
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 CfnBackupSelectionProps : ICfnBackupSelectionProps
Syntax (vb)
Public Class CfnBackupSelectionProps Implements ICfnBackupSelectionProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupselection.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 conditions;

             var cfnBackupSelectionProps = new CfnBackupSelectionProps {
                 BackupPlanId = "backupPlanId",
                 BackupSelection = new BackupSelectionResourceTypeProperty {
                     IamRoleArn = "iamRoleArn",
                     SelectionName = "selectionName",

                     // the properties below are optional
                     Conditions = conditions,
                     ListOfTags = new [] { new ConditionResourceTypeProperty {
                         ConditionKey = "conditionKey",
                         ConditionType = "conditionType",
                         ConditionValue = "conditionValue"
                     } },
                     NotResources = new [] { "notResources" },
                     Resources = new [] { "resources" }
                 }
             };

Synopsis

Constructors

CfnBackupSelectionProps()

Properties for defining a CfnBackupSelection.

Properties

BackupPlanId

Uniquely identifies a backup plan.

BackupSelection

Specifies the body of a request to assign a set of resources to a backup plan.

Constructors

CfnBackupSelectionProps()

Properties for defining a CfnBackupSelection.

public CfnBackupSelectionProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupselection.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 conditions;

             var cfnBackupSelectionProps = new CfnBackupSelectionProps {
                 BackupPlanId = "backupPlanId",
                 BackupSelection = new BackupSelectionResourceTypeProperty {
                     IamRoleArn = "iamRoleArn",
                     SelectionName = "selectionName",

                     // the properties below are optional
                     Conditions = conditions,
                     ListOfTags = new [] { new ConditionResourceTypeProperty {
                         ConditionKey = "conditionKey",
                         ConditionType = "conditionType",
                         ConditionValue = "conditionValue"
                     } },
                     NotResources = new [] { "notResources" },
                     Resources = new [] { "resources" }
                 }
             };

Properties

BackupPlanId

Uniquely identifies a backup plan.

public object BackupPlanId { get; set; }
Property Value

object

Remarks

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

Type union: either string or IBackupPlanRef

BackupSelection

Specifies the body of a request to assign a set of resources to a backup plan.

public object BackupSelection { get; set; }
Property Value

object

Remarks

It includes an array of resources, an optional array of patterns to exclude resources, an optional role to provide access to the AWS service the resource belongs to, and an optional array of tags used to identify a set of resources.

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

Type union: either IResolvable or CfnBackupSelection.IBackupSelectionResourceTypeProperty

Implements

ICfnBackupSelectionProps
Back to top Generated by DocFX