libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MigrationHub.Types.ResourceAttribute

Description

 
Synopsis

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.

Constructors

ResourceAttribute' 

Fields

Instances

Instances details
Eq ResourceAttribute Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.ResourceAttribute

Read ResourceAttribute Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.ResourceAttribute

Show ResourceAttribute Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.ResourceAttribute

Generic ResourceAttribute Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.ResourceAttribute

Associated Types

type Rep ResourceAttribute :: Type -> Type #

NFData ResourceAttribute Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.ResourceAttribute

Methods

rnf :: ResourceAttribute -> () #

Hashable ResourceAttribute Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.ResourceAttribute

ToJSON ResourceAttribute Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.ResourceAttribute

FromJSON ResourceAttribute Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.ResourceAttribute

type Rep ResourceAttribute Source # 
Instance details

Defined in Amazonka.MigrationHub.Types.ResourceAttribute

type Rep ResourceAttribute = D1 ('MetaData "ResourceAttribute" "Amazonka.MigrationHub.Types.ResourceAttribute" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" 'False) (C1 ('MetaCons "ResourceAttribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceAttributeType) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newResourceAttribute Source #

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.