| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.Backup.Types.Condition
Description
Synopsis
Documentation
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.
See: newCondition smart constructor.
Constructors
| Condition' | |
Fields
| |
Instances
| Eq Condition Source # | |
| Read Condition Source # | |
| Show Condition Source # | |
| Generic Condition Source # | |
| NFData Condition Source # | |
Defined in Amazonka.Backup.Types.Condition | |
| Hashable Condition Source # | |
Defined in Amazonka.Backup.Types.Condition | |
| ToJSON Condition Source # | |
Defined in Amazonka.Backup.Types.Condition | |
| FromJSON Condition Source # | |
| type Rep Condition Source # | |
Defined in Amazonka.Backup.Types.Condition type Rep Condition = D1 ('MetaData "Condition" "Amazonka.Backup.Types.Condition" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "Condition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "conditionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConditionType) :*: (S1 ('MetaSel ('Just "conditionKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "conditionValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) | |
Arguments
| :: ConditionType | |
| -> Text | |
| -> Text | |
| -> Condition |
Create a value of Condition with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:conditionType:Condition', condition_conditionType - An operation, such as StringEquals, that is applied to a key-value
pair used to filter resources in a selection.
$sel:conditionKey:Condition', condition_conditionKey - The key in a key-value pair. For example, in
"ec2:ResourceTag/Department": "accounting",
"ec2:ResourceTag/Department" is the key.
$sel:conditionValue:Condition', condition_conditionValue - The value in a key-value pair. For example, in
"ec2:ResourceTag/Department": "accounting", "accounting" is
the value.
condition_conditionType :: Lens' Condition ConditionType Source #
An operation, such as StringEquals, that is applied to a key-value
pair used to filter resources in a selection.