Show / Hide Table of Contents

Class CfnRestoreTestingSelection.ProtectedResourceConditionsProperty

The conditions that you define for resources in your restore testing plan using tags.

Inheritance
object
CfnRestoreTestingSelection.ProtectedResourceConditionsProperty
Implements
CfnRestoreTestingSelection.IProtectedResourceConditionsProperty
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 CfnRestoreTestingSelection.ProtectedResourceConditionsProperty : CfnRestoreTestingSelection.IProtectedResourceConditionsProperty
Syntax (vb)
Public Class CfnRestoreTestingSelection.ProtectedResourceConditionsProperty Implements CfnRestoreTestingSelection.IProtectedResourceConditionsProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-restoretestingselection-protectedresourceconditions.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 protectedResourceConditionsProperty = new ProtectedResourceConditionsProperty {
                 StringEquals = new [] { new KeyValueProperty {
                     Key = "key",
                     Value = "value"
                 } },
                 StringNotEquals = new [] { new KeyValueProperty {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

ProtectedResourceConditionsProperty()

The conditions that you define for resources in your restore testing plan using tags.

Properties

StringEquals

Filters the values of your tagged resources for only those resources that you tagged with the same value.

StringNotEquals

Filters the values of your tagged resources for only those resources that you tagged that do not have the same value.

Constructors

ProtectedResourceConditionsProperty()

The conditions that you define for resources in your restore testing plan using tags.

public ProtectedResourceConditionsProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-restoretestingselection-protectedresourceconditions.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 protectedResourceConditionsProperty = new ProtectedResourceConditionsProperty {
                 StringEquals = new [] { new KeyValueProperty {
                     Key = "key",
                     Value = "value"
                 } },
                 StringNotEquals = new [] { new KeyValueProperty {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

StringEquals

Filters the values of your tagged resources for only those resources that you tagged with the same value.

public object? StringEquals { get; set; }
Property Value

object

Remarks

Also called "exact matching."

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-restoretestingselection-protectedresourceconditions.html#cfn-backup-restoretestingselection-protectedresourceconditions-stringequals

Type union: either IResolvable or (either IResolvable or CfnRestoreTestingSelection.IKeyValueProperty)[]

StringNotEquals

Filters the values of your tagged resources for only those resources that you tagged that do not have the same value.

public object? StringNotEquals { get; set; }
Property Value

object

Remarks

Also called "negated matching."

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-restoretestingselection-protectedresourceconditions.html#cfn-backup-restoretestingselection-protectedresourceconditions-stringnotequals

Type union: either IResolvable or (either IResolvable or CfnRestoreTestingSelection.IKeyValueProperty)[]

Implements

CfnRestoreTestingSelection.IProtectedResourceConditionsProperty
Back to top Generated by DocFX