Class CfnBackupSelection.ConditionResourceTypeProperty
Specifies an object that contains an array of triplets made up of a condition type (such as STRINGEQUALS
), a key, and a value.
Inheritance
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ConditionResourceTypeProperty : Object, CfnBackupSelection.IConditionResourceTypeProperty
Syntax (vb)
Public Class ConditionResourceTypeProperty
Inherits Object
Implements CfnBackupSelection.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
Constructors
Condition |
Properties
Condition |
The key in a key-value pair. |
Condition |
An operation, such as |
Condition |
The value in a key-value pair. |
Constructors
ConditionResourceTypeProperty()
public ConditionResourceTypeProperty()
Properties
ConditionKey
The key in a key-value pair.
public string ConditionKey { get; set; }
Property Value
System.
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.
public string ConditionType { get; set; }
Property Value
System.
Remarks
ConditionValue
The value in a key-value pair.
public string ConditionValue { get; set; }
Property Value
System.
Remarks
For example, in "Department": "accounting"
, "accounting"
is the value.