amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.IpamPoolAllocation

Description

 
Synopsis

Documentation

data IpamPoolAllocation Source #

In IPAM, an allocation is a CIDR assignment from an IPAM pool to another resource or IPAM pool.

See: newIpamPoolAllocation smart constructor.

Constructors

IpamPoolAllocation' 

Fields

Instances

Instances details
FromXML IpamPoolAllocation Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamPoolAllocation

Generic IpamPoolAllocation Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamPoolAllocation

Associated Types

type Rep IpamPoolAllocation :: Type -> Type #

Read IpamPoolAllocation Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamPoolAllocation

Show IpamPoolAllocation Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamPoolAllocation

NFData IpamPoolAllocation Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamPoolAllocation

Methods

rnf :: IpamPoolAllocation -> () #

Eq IpamPoolAllocation Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamPoolAllocation

Hashable IpamPoolAllocation Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamPoolAllocation

type Rep IpamPoolAllocation Source # 
Instance details

Defined in Amazonka.EC2.Types.IpamPoolAllocation

type Rep IpamPoolAllocation = D1 ('MetaData "IpamPoolAllocation" "Amazonka.EC2.Types.IpamPoolAllocation" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "IpamPoolAllocation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cidr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ipamPoolAllocationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IpamPoolAllocationResourceType))))))

newIpamPoolAllocation :: IpamPoolAllocation Source #

Create a value of IpamPoolAllocation 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:cidr:IpamPoolAllocation', ipamPoolAllocation_cidr - The CIDR for the allocation. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23. An IPv6 CIDR example is 2001:DB8::/32.

$sel:description:IpamPoolAllocation', ipamPoolAllocation_description - A description of the pool allocation.

$sel:ipamPoolAllocationId:IpamPoolAllocation', ipamPoolAllocation_ipamPoolAllocationId - The ID of an allocation.

$sel:resourceId:IpamPoolAllocation', ipamPoolAllocation_resourceId - The ID of the resource.

$sel:resourceOwner:IpamPoolAllocation', ipamPoolAllocation_resourceOwner - The owner of the resource.

$sel:resourceRegion:IpamPoolAllocation', ipamPoolAllocation_resourceRegion - The Amazon Web Services Region of the resource.

$sel:resourceType:IpamPoolAllocation', ipamPoolAllocation_resourceType - The type of the resource.

ipamPoolAllocation_cidr :: Lens' IpamPoolAllocation (Maybe Text) Source #

The CIDR for the allocation. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23. An IPv6 CIDR example is 2001:DB8::/32.

ipamPoolAllocation_description :: Lens' IpamPoolAllocation (Maybe Text) Source #

A description of the pool allocation.

ipamPoolAllocation_resourceRegion :: Lens' IpamPoolAllocation (Maybe Text) Source #

The Amazon Web Services Region of the resource.