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 |
Synopsis
- data Attribute = Attribute' {}
- newAttribute :: Text -> Attribute
- attribute_value :: Lens' Attribute (Maybe Text)
- attribute_key :: Lens' Attribute Text
Documentation
This data type is used in the ImageScanFinding data type.
See: newAttribute
smart constructor.
Instances
Eq Attribute Source # | |
Read Attribute Source # | |
Show Attribute Source # | |
Generic Attribute Source # | |
NFData Attribute Source # | |
Defined in Amazonka.ECR.Types.Attribute | |
Hashable Attribute Source # | |
Defined in Amazonka.ECR.Types.Attribute | |
FromJSON Attribute Source # | |
type Rep Attribute Source # | |
Defined in Amazonka.ECR.Types.Attribute type Rep Attribute = D1 ('MetaData "Attribute" "Amazonka.ECR.Types.Attribute" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "Attribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Attribute
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:value:Attribute'
, attribute_value
- The value assigned to the attribute key.
$sel:key:Attribute'
, attribute_key
- The attribute key.