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. Used to filter resources using their tags and assign them to a backup plan. Case sensitive.

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 the tag Department: Accounting, Department is the key.

Public Property ConditionType Amazon.Backup.ConditionType

Gets and sets the property ConditionType.

An operation applied to a key-value pair used to assign resources to your backup plan. Condition only supports StringEquals. For more flexible assignment options, including StringLike and the ability to exclude resources from your backup plan, use Conditions (with an "s" on the end) for your BackupSelection .

Public Property ConditionValue System.String

Gets and sets the property ConditionValue.

The value in a key-value pair. For example, in the tag Department: Accounting, Accounting is the value.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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