Show / Hide Table of Contents

Class CfnRestoreTestingSelection

This request can be sent after CreateRestoreTestingPlan request returns successfully.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnRestoreTestingSelection
Implements
IInspectable
IRestoreTestingSelectionRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.With(params IMixin[])
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRestoreTestingSelection : CfnResource, IInspectable, IRestoreTestingSelectionRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnRestoreTestingSelection Inherits CfnResource Implements IInspectable, IRestoreTestingSelectionRef, IConstruct, IDependable, IEnvironmentAware
Remarks

This is the second part of creating a resource testing plan, and it must be completed sequentially.

This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

    Each protected resource type can have one single value.

    A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

    Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

    CloudformationResource: AWS::Backup::RestoreTestingSelection

    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 cfnRestoreTestingSelection = new CfnRestoreTestingSelection(this, "MyCfnRestoreTestingSelection", new CfnRestoreTestingSelectionProps {
                     IamRoleArn = "iamRoleArn",
                     ProtectedResourceType = "protectedResourceType",
                     RestoreTestingPlanName = "restoreTestingPlanName",
                     RestoreTestingSelectionName = "restoreTestingSelectionName",
    
                     // the properties below are optional
                     ProtectedResourceArns = new [] { "protectedResourceArns" },
                     ProtectedResourceConditions = new ProtectedResourceConditionsProperty {
                         StringEquals = new [] { new KeyValueProperty {
                             Key = "key",
                             Value = "value"
                         } },
                         StringNotEquals = new [] { new KeyValueProperty {
                             Key = "key",
                             Value = "value"
                         } }
                     },
                     RestoreMetadataOverrides = new Dictionary<string, string> {
                         { "restoreMetadataOverridesKey", "restoreMetadataOverrides" }
                     },
                     ValidationWindowHours = 123
                 });

    Synopsis

    Constructors

    CfnRestoreTestingSelection(Construct, string, ICfnRestoreTestingSelectionProps)

    Create a new AWS::Backup::RestoreTestingSelection.

    Properties

    CFN_RESOURCE_TYPE_NAME

    The CloudFormation resource type name for this resource class.

    CfnProperties

    This request can be sent after CreateRestoreTestingPlan request returns successfully.

    IamRoleArn

    The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource;

    ProtectedResourceArns

    You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"] , but not both.

    ProtectedResourceConditions

    In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals .

    ProtectedResourceType

    The type of AWS resource included in a resource testing selection;

    RestoreMetadataOverrides

    You can override certain restore metadata keys by including the parameter RestoreMetadataOverrides in the body of RestoreTestingSelection .

    RestoreTestingPlanName

    Unique string that is the name of the restore testing plan.

    RestoreTestingSelectionName

    The unique name of the restore testing selection that belongs to the related restore testing plan.

    RestoreTestingSelectionRef

    A reference to a RestoreTestingSelection resource.

    ValidationWindowHours

    This is amount of hours (1 to 168) available to run a validation script on the data.

    Methods

    Inspect(TreeInspector)

    Examines the CloudFormation resource and discloses attributes.

    IsCfnRestoreTestingSelection(object)

    Checks whether the given object is a CfnRestoreTestingSelection.

    RenderProperties(IDictionary<string, object>)

    This request can be sent after CreateRestoreTestingPlan request returns successfully.

    Constructors

    CfnRestoreTestingSelection(Construct, string, ICfnRestoreTestingSelectionProps)

    Create a new AWS::Backup::RestoreTestingSelection.

    public CfnRestoreTestingSelection(Construct scope, string id, ICfnRestoreTestingSelectionProps props)
    Parameters
    scope Construct

    Scope in which this resource is defined.

    id string

    Construct identifier for this resource (unique in its scope).

    props ICfnRestoreTestingSelectionProps

    Resource properties.

    Remarks

    This is the second part of creating a resource testing plan, and it must be completed sequentially.

    This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

      Each protected resource type can have one single value.

      A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

      Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

      CloudformationResource: AWS::Backup::RestoreTestingSelection

      ExampleMetadata: fixture=_generated

      Properties

      CFN_RESOURCE_TYPE_NAME

      The CloudFormation resource type name for this resource class.

      public static string CFN_RESOURCE_TYPE_NAME { get; }
      Property Value

      string

      Remarks

      This is the second part of creating a resource testing plan, and it must be completed sequentially.

      This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

        Each protected resource type can have one single value.

        A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

        Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

        CloudformationResource: AWS::Backup::RestoreTestingSelection

        ExampleMetadata: fixture=_generated

        CfnProperties

        This request can be sent after CreateRestoreTestingPlan request returns successfully.

        protected override IDictionary<string, object> CfnProperties { get; }
        Property Value

        IDictionary<string, object>

        Overrides
        CfnResource.CfnProperties
        Remarks

        This is the second part of creating a resource testing plan, and it must be completed sequentially.

        This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

          Each protected resource type can have one single value.

          A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

          Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

          CloudformationResource: AWS::Backup::RestoreTestingSelection

          ExampleMetadata: fixture=_generated

          IamRoleArn

          The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target resource;

          public virtual string IamRoleArn { get; set; }
          Property Value

          string

          Remarks

          This is the second part of creating a resource testing plan, and it must be completed sequentially.

          This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

            Each protected resource type can have one single value.

            A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

            Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

            CloudformationResource: AWS::Backup::RestoreTestingSelection

            ExampleMetadata: fixture=_generated

            ProtectedResourceArns

            You can include specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."] or you can include a wildcard: ProtectedResourceArns: ["*"] , but not both.

            public virtual string[]? ProtectedResourceArns { get; set; }
            Property Value

            string[]

            Remarks

            This is the second part of creating a resource testing plan, and it must be completed sequentially.

            This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

              Each protected resource type can have one single value.

              A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

              Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

              CloudformationResource: AWS::Backup::RestoreTestingSelection

              ExampleMetadata: fixture=_generated

              ProtectedResourceConditions

              In a resource testing selection, this parameter filters by specific conditions such as StringEquals or StringNotEquals .

              public virtual object? ProtectedResourceConditions { get; set; }
              Property Value

              object

              Remarks

              Type union: either IResolvable or CfnRestoreTestingSelection.IProtectedResourceConditionsProperty

              ProtectedResourceType

              The type of AWS resource included in a resource testing selection;

              public virtual string ProtectedResourceType { get; set; }
              Property Value

              string

              Remarks

              This is the second part of creating a resource testing plan, and it must be completed sequentially.

              This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

                Each protected resource type can have one single value.

                A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

                Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

                CloudformationResource: AWS::Backup::RestoreTestingSelection

                ExampleMetadata: fixture=_generated

                RestoreMetadataOverrides

                You can override certain restore metadata keys by including the parameter RestoreMetadataOverrides in the body of RestoreTestingSelection .

                public virtual object? RestoreMetadataOverrides { get; set; }
                Property Value

                object

                Remarks

                Type union: either Dictionary<string, string> or IResolvable

                RestoreTestingPlanName

                Unique string that is the name of the restore testing plan.

                public virtual string RestoreTestingPlanName { get; set; }
                Property Value

                string

                Remarks

                This is the second part of creating a resource testing plan, and it must be completed sequentially.

                This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

                  Each protected resource type can have one single value.

                  A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

                  Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

                  CloudformationResource: AWS::Backup::RestoreTestingSelection

                  ExampleMetadata: fixture=_generated

                  RestoreTestingSelectionName

                  The unique name of the restore testing selection that belongs to the related restore testing plan.

                  public virtual string RestoreTestingSelectionName { get; set; }
                  Property Value

                  string

                  Remarks

                  This is the second part of creating a resource testing plan, and it must be completed sequentially.

                  This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

                    Each protected resource type can have one single value.

                    A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

                    Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

                    CloudformationResource: AWS::Backup::RestoreTestingSelection

                    ExampleMetadata: fixture=_generated

                    RestoreTestingSelectionRef

                    A reference to a RestoreTestingSelection resource.

                    public virtual IRestoreTestingSelectionReference RestoreTestingSelectionRef { get; }
                    Property Value

                    IRestoreTestingSelectionReference

                    Remarks

                    This is the second part of creating a resource testing plan, and it must be completed sequentially.

                    This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

                      Each protected resource type can have one single value.

                      A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

                      Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

                      CloudformationResource: AWS::Backup::RestoreTestingSelection

                      ExampleMetadata: fixture=_generated

                      ValidationWindowHours

                      This is amount of hours (1 to 168) available to run a validation script on the data.

                      public virtual double? ValidationWindowHours { get; set; }
                      Property Value

                      double?

                      Remarks

                      This is the second part of creating a resource testing plan, and it must be completed sequentially.

                      This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

                        Each protected resource type can have one single value.

                        A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

                        Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

                        CloudformationResource: AWS::Backup::RestoreTestingSelection

                        ExampleMetadata: fixture=_generated

                        Methods

                        Inspect(TreeInspector)

                        Examines the CloudFormation resource and discloses attributes.

                        public virtual void Inspect(TreeInspector inspector)
                        Parameters
                        inspector TreeInspector

                        tree inspector to collect and process attributes.

                        Remarks

                        This is the second part of creating a resource testing plan, and it must be completed sequentially.

                        This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

                          Each protected resource type can have one single value.

                          A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

                          Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

                          CloudformationResource: AWS::Backup::RestoreTestingSelection

                          ExampleMetadata: fixture=_generated

                          IsCfnRestoreTestingSelection(object)

                          Checks whether the given object is a CfnRestoreTestingSelection.

                          public static bool IsCfnRestoreTestingSelection(object x)
                          Parameters
                          x object
                          Returns

                          bool

                          Remarks

                          This is the second part of creating a resource testing plan, and it must be completed sequentially.

                          This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

                            Each protected resource type can have one single value.

                            A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

                            Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

                            CloudformationResource: AWS::Backup::RestoreTestingSelection

                            ExampleMetadata: fixture=_generated

                            RenderProperties(IDictionary<string, object>)

                            This request can be sent after CreateRestoreTestingPlan request returns successfully.

                            protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
                            Parameters
                            props IDictionary<string, object>
                            Returns

                            IDictionary<string, object>

                            Overrides
                            CfnResource.RenderProperties(IDictionary<string, object>)
                            Remarks

                            This is the second part of creating a resource testing plan, and it must be completed sequentially.

                            This consists of RestoreTestingSelectionName , ProtectedResourceType , and one of the following:

                              Each protected resource type can have one single value.

                              A restore testing selection can include a wildcard value ("*") for ProtectedResourceArns along with ProtectedResourceConditions . Alternatively, you can include up to 30 specific protected resource ARNs in ProtectedResourceArns .

                              Cannot select by both protected resource types AND specific ARNs. Request will fail if both are included.

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

                              CloudformationResource: AWS::Backup::RestoreTestingSelection

                              ExampleMetadata: fixture=_generated

                              Implements

                              IInspectable
                              IRestoreTestingSelectionRef
                              Constructs.IConstruct
                              Constructs.IDependable
                              IEnvironmentAware
                              Back to top Generated by DocFX