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.Vpc

Description

 
Synopsis

Documentation

data Vpc Source #

Describes a VPC.

See: newVpc smart constructor.

Constructors

Vpc' 

Fields

Instances

Instances details
FromXML Vpc Source # 
Instance details

Defined in Amazonka.EC2.Types.Vpc

Methods

parseXML :: [Node] -> Either String Vpc #

Generic Vpc Source # 
Instance details

Defined in Amazonka.EC2.Types.Vpc

Associated Types

type Rep Vpc :: Type -> Type #

Methods

from :: Vpc -> Rep Vpc x #

to :: Rep Vpc x -> Vpc #

Read Vpc Source # 
Instance details

Defined in Amazonka.EC2.Types.Vpc

Show Vpc Source # 
Instance details

Defined in Amazonka.EC2.Types.Vpc

Methods

showsPrec :: Int -> Vpc -> ShowS #

show :: Vpc -> String #

showList :: [Vpc] -> ShowS #

NFData Vpc Source # 
Instance details

Defined in Amazonka.EC2.Types.Vpc

Methods

rnf :: Vpc -> () #

Eq Vpc Source # 
Instance details

Defined in Amazonka.EC2.Types.Vpc

Methods

(==) :: Vpc -> Vpc -> Bool #

(/=) :: Vpc -> Vpc -> Bool #

Hashable Vpc Source # 
Instance details

Defined in Amazonka.EC2.Types.Vpc

Methods

hashWithSalt :: Int -> Vpc -> Int #

hash :: Vpc -> Int #

type Rep Vpc Source # 
Instance details

Defined in Amazonka.EC2.Types.Vpc

newVpc Source #

Create a value of Vpc 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:cidrBlockAssociationSet:Vpc', vpc_cidrBlockAssociationSet - Information about the IPv4 CIDR blocks associated with the VPC.

$sel:ipv6CidrBlockAssociationSet:Vpc', vpc_ipv6CidrBlockAssociationSet - Information about the IPv6 CIDR blocks associated with the VPC.

$sel:isDefault:Vpc', vpc_isDefault - Indicates whether the VPC is the default VPC.

$sel:ownerId:Vpc', vpc_ownerId - The ID of the Amazon Web Services account that owns the VPC.

$sel:tags:Vpc', vpc_tags - Any tags assigned to the VPC.

Vpc, vpc_cidrBlock - The primary IPv4 CIDR block for the VPC.

$sel:dhcpOptionsId:Vpc', vpc_dhcpOptionsId - The ID of the set of DHCP options you've associated with the VPC.

$sel:instanceTenancy:Vpc', vpc_instanceTenancy - The allowed tenancy of instances launched into the VPC.

$sel:state:Vpc', vpc_state - The current state of the VPC.

$sel:vpcId:Vpc', vpc_vpcId - The ID of the VPC.

vpc_cidrBlockAssociationSet :: Lens' Vpc (Maybe [VpcCidrBlockAssociation]) Source #

Information about the IPv4 CIDR blocks associated with the VPC.

vpc_ipv6CidrBlockAssociationSet :: Lens' Vpc (Maybe [VpcIpv6CidrBlockAssociation]) Source #

Information about the IPv6 CIDR blocks associated with the VPC.

vpc_isDefault :: Lens' Vpc (Maybe Bool) Source #

Indicates whether the VPC is the default VPC.

vpc_ownerId :: Lens' Vpc (Maybe Text) Source #

The ID of the Amazon Web Services account that owns the VPC.

vpc_tags :: Lens' Vpc (Maybe [Tag]) Source #

Any tags assigned to the VPC.

vpc_cidrBlock :: Lens' Vpc Text Source #

The primary IPv4 CIDR block for the VPC.

vpc_dhcpOptionsId :: Lens' Vpc Text Source #

The ID of the set of DHCP options you've associated with the VPC.

vpc_instanceTenancy :: Lens' Vpc Tenancy Source #

The allowed tenancy of instances launched into the VPC.

vpc_state :: Lens' Vpc VpcState Source #

The current state of the VPC.

vpc_vpcId :: Lens' Vpc Text Source #

The ID of the VPC.