Class CfnBackupSelection.ConditionsProperty
Contains information about which resources to include or exclude from a backup plan using their tags.
Inheritance
Implements
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.
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
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".
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
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