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 |
Documentation
data ResourceAttribute Source #
Attribute associated with a resource.
Note the corresponding format required per type listed below:
- IPV4
x.x.x.x
where x is an integer in the range [0,255]
- IPV6
y : y : y : y : y : y : y : y
where y is a hexadecimal between 0 and FFFF. [0, FFFF]
- MAC_ADDRESS
^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$
- FQDN
^[^<>{}\\\\/?,=\\p{Cntrl}]{1,256}$
See: newResourceAttribute
smart constructor.
ResourceAttribute' | |
|
Instances
Create a value of ResourceAttribute
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:type':ResourceAttribute'
, resourceAttribute_type
- Type of resource.
$sel:value:ResourceAttribute'
, resourceAttribute_value
- Value of the resource type.
resourceAttribute_type :: Lens' ResourceAttribute ResourceAttributeType Source #
Type of resource.
resourceAttribute_value :: Lens' ResourceAttribute Text Source #
Value of the resource type.