Interface CfnBackupSelection.IConditionResourceTypeProperty
Specifies an object that contains an array of triplets made up of a condition type (such as STRINGEQUALS
), a key, and a value.
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.AWS.Backup.dll
Syntax (csharp)
public interface IConditionResourceTypeProperty
Syntax (vb)
Public Interface IConditionResourceTypeProperty
Remarks
Conditions are used to filter resources in a selection that is assigned to a backup plan.
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 conditionResourceTypeProperty = new ConditionResourceTypeProperty {
ConditionKey = "conditionKey",
ConditionType = "conditionType",
ConditionValue = "conditionValue"
};
Synopsis
Properties
ConditionKey | The key in a key-value pair. |
ConditionType | An operation, such as |
ConditionValue | The value in a key-value pair. |
Properties
ConditionKey
The key in a key-value pair.
string ConditionKey { get; }
Property Value
System.String
Remarks
For example, in "Department": "accounting"
, "Department"
is the key.
ConditionType
An operation, such as STRINGEQUALS
, that is applied to a key-value pair used to filter resources in a selection.
string ConditionType { get; }
Property Value
System.String
Remarks
ConditionValue
The value in a key-value pair.
string ConditionValue { get; }
Property Value
System.String
Remarks
For example, in "Department": "accounting"
, "accounting"
is the value.