Show / Hide Table of Contents

Class CfnBackupSelection.ConditionsProperty

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

Inheritance
System.Object
CfnBackupSelection.ConditionsProperty
Implements
CfnBackupSelection.IConditionsProperty
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.AWS.Backup.dll
Syntax (csharp)
public class ConditionsProperty : Object, CfnBackupSelection.IConditionsProperty
Syntax (vb)
Public Class ConditionsProperty
    Inherits Object
    Implements CfnBackupSelection.IConditionsProperty
Remarks

Conditions are case sensitive.

Link: 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

Constructors

ConditionsProperty()

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.

Constructors

ConditionsProperty()

public ConditionsProperty()

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

System.Object

Remarks

Also called "exact matching."

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

StringLike

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

public object StringLike { get; set; }
Property Value

System.Object

Remarks

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

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

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

System.Object

Remarks

Also called "negated matching."

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

StringNotLike

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

public object StringNotLike { get; set; }
Property Value

System.Object

Remarks

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

Implements

CfnBackupSelection.IConditionsProperty
Back to top Generated by DocFX