AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Contains an array of triplets made up of a condition type (such as STRINGEQUALS), a key, and a value. Conditions are used to filter resources in a selection that is assigned to a backup plan.

Inheritance Hierarchy

System.Object
  Amazon.Backup.Model.Condition

Namespace: Amazon.Backup.Model
Assembly: AWSSDK.Backup.dll
Version: 3.x.y.z

Syntax

C#
public class Condition

The Condition type exposes the following members

Constructors

NameDescription
Public Method Condition()

Properties

NameTypeDescription
Public Property ConditionKey System.String

Gets and sets the property ConditionKey.

The key in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting", "ec2:ResourceTag/Department" is the key.

Public Property ConditionType Amazon.Backup.ConditionType

Gets and sets the property ConditionType.

An operation, such as STRINGEQUALS, that is applied to a key-value pair used to filter resources in a selection.

Public Property ConditionValue System.String

Gets and sets the property ConditionValue.

The value in a key-value pair. For example, in

"ec2:ResourceTag/Department":
            "accounting"
, "accounting" is the value.

Version Information

.NET Standard:
Supported in: 2.0, 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms