Show / Hide Table of Contents

Interface CfnBackupSelection.IConditionsProperty

Contains information about which resources to include or exclude from a backup plan using their tags.

Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnBackupSelection.IConditionsProperty
Syntax (vb)
Public Interface CfnBackupSelection.IConditionsProperty
Remarks

Conditions are case sensitive.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditions.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 conditionsProperty = new ConditionsProperty {
                 StringEquals = new [] { new ConditionParameterProperty {
                     ConditionKey = "conditionKey",
                     ConditionValue = "conditionValue"
                 } },
                 StringLike = new [] { new ConditionParameterProperty {
                     ConditionKey = "conditionKey",
                     ConditionValue = "conditionValue"
                 } },
                 StringNotEquals = new [] { new ConditionParameterProperty {
                     ConditionKey = "conditionKey",
                     ConditionValue = "conditionValue"
                 } },
                 StringNotLike = new [] { new ConditionParameterProperty {
                     ConditionKey = "conditionKey",
                     ConditionValue = "conditionValue"
                 } }
             };

Synopsis

Properties

StringEquals

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

StringLike

Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string.

StringNotEquals

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

StringNotLike

Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.

Properties

StringEquals

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

object? StringEquals { get; }
Property Value

object

Remarks

Also called "exact matching."

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

Type union: either IResolvable or (either IResolvable or CfnBackupSelection.IConditionParameterProperty)[]

StringLike

Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string.

object? StringLike { get; }
Property Value

object

Remarks

For example, "prod*" or "rod" matches the tag value "production".

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

Type union: either IResolvable or (either IResolvable or CfnBackupSelection.IConditionParameterProperty)[]

StringNotEquals

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

object? StringNotEquals { get; }
Property Value

object

Remarks

Also called "negated matching."

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

Type union: either IResolvable or (either IResolvable or CfnBackupSelection.IConditionParameterProperty)[]

StringNotLike

Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.

object? StringNotLike { get; }
Property Value

object

Remarks

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

Type union: either IResolvable or (either IResolvable or CfnBackupSelection.IConditionParameterProperty)[]

Back to top Generated by DocFX