| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MigrationHub.Types.ResourceAttribute
Description
Documentation
data ResourceAttribute Source #
Attribute associated with a resource.
Note the corresponding format required per type listed below:
- IPV4
x.x.x.xwhere x is an integer in the range [0,255]
- IPV6
y : y : y : y : y : y : y : ywhere 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.
Constructors
| ResourceAttribute' | |
Fields
| |
Instances
Arguments
| :: ResourceAttributeType | |
| -> Text | |
| -> ResourceAttribute |
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.