Show / Hide Table of Contents

Interface CfnBackupSelectionPropsMixin.IBackupSelectionResourceTypeProperty

Specifies an object containing properties used to assign a set of resources to a backup plan.

Namespace: Amazon.CDK.Mixins.Preview.AWS.Backup.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnBackupSelectionPropsMixin.IBackupSelectionResourceTypeProperty
Syntax (vb)
Public Interface CfnBackupSelectionPropsMixin.IBackupSelectionResourceTypeProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-backupselectionresourcetype.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.Mixins.Preview.AWS.Backup.Mixins;

             var conditions;

             var backupSelectionResourceTypeProperty = new BackupSelectionResourceTypeProperty {
                 Conditions = conditions,
                 IamRoleArn = "iamRoleArn",
                 ListOfTags = new [] { new ConditionResourceTypeProperty {
                     ConditionKey = "conditionKey",
                     ConditionType = "conditionType",
                     ConditionValue = "conditionValue"
                 } },
                 NotResources = new [] { "notResources" },
                 Resources = new [] { "resources" },
                 SelectionName = "selectionName"
             };

Synopsis

Properties

Conditions

A list of conditions that you define to assign resources to your backup plans using tags.

IamRoleArn

The ARN of the IAM role that AWS Backup uses to authenticate when backing up the target resource;

ListOfTags

A list of conditions that you define to assign resources to your backup plans using tags.

NotResources

A list of Amazon Resource Names (ARNs) to exclude from a backup plan.

Resources

An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.

SelectionName

The display name of a resource selection document.

Properties

Conditions

A list of conditions that you define to assign resources to your backup plans using tags.

object? Conditions { get; }
Property Value

object

Remarks

For example, "StringEquals": { "ConditionKey": "aws:ResourceTag/CreatedByCryo", "ConditionValue": "true" }, . Condition operators are case sensitive.

Conditions differs from ListOfTags as follows:

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

    IamRoleArn

    The ARN of the IAM role that AWS Backup uses to authenticate when backing up the target resource;

    string? IamRoleArn { get; }
    Property Value

    string

    Remarks

    for example, arn:aws:iam::123456789012:role/S3Access .

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

    ListOfTags

    A list of conditions that you define to assign resources to your backup plans using tags.

    object? ListOfTags { get; }
    Property Value

    object

    Remarks

    For example, "StringEquals": { "ConditionKey": "aws:ResourceTag/CreatedByCryo", "ConditionValue": "true" }, . Condition operators are case sensitive.

    ListOfTags differs from Conditions as follows:

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

      Type union: either IResolvable or (either IResolvable or CfnBackupSelectionPropsMixin.IConditionResourceTypeProperty)[]

      NotResources

      A list of Amazon Resource Names (ARNs) to exclude from a backup plan.

      string[]? NotResources { get; }
      Property Value

      string[]

      Remarks

      The maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards.

      If you need to exclude many resources from a backup plan, consider a different resource selection strategy, such as assigning only one or a few resource types or refining your resource selection using tags.

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

      Resources

      An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.

      string[]? Resources { get; }
      Property Value

      string[]

      Remarks

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

      SelectionName

      The display name of a resource selection document.

      string? SelectionName { get; }
      Property Value

      string

      Remarks

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

      Back to top Generated by DocFX