Safe Haskell | None |
---|---|
Language | Haskell2010 |
Requests a VPC peering connection between two VPCs: a requester VPC that you own and a peer VPC with which to create the connection. The peer VPC can belong to another AWS account. The requester VPC and peer VPC cannot have overlapping CIDR blocks.
The owner of the peer VPC must accept the peering request to activate the peering connection. The VPC peering connection request expires after 7 days, after which it cannot be accepted or rejected.
A CreateVpcPeeringConnection
request between VPCs with overlapping CIDR
blocks results in the VPC peering connection having a status of failed
.
- data CreateVpcPeeringConnection
- createVpcPeeringConnection :: CreateVpcPeeringConnection
- cvpcDryRun :: Lens' CreateVpcPeeringConnection (Maybe Bool)
- cvpcPeerOwnerId :: Lens' CreateVpcPeeringConnection (Maybe Text)
- cvpcPeerVpcId :: Lens' CreateVpcPeeringConnection (Maybe Text)
- cvpcVpcId :: Lens' CreateVpcPeeringConnection (Maybe Text)
- data CreateVpcPeeringConnectionResponse
- createVpcPeeringConnectionResponse :: CreateVpcPeeringConnectionResponse
- cvpcrVpcPeeringConnection :: Lens' CreateVpcPeeringConnectionResponse (Maybe VpcPeeringConnection)
Request
data CreateVpcPeeringConnection Source
Request constructor
createVpcPeeringConnection :: CreateVpcPeeringConnection Source
CreateVpcPeeringConnection
constructor.
The fields accessible through corresponding lenses are:
Request lenses
cvpcPeerOwnerId :: Lens' CreateVpcPeeringConnection (Maybe Text) Source
The AWS account ID of the owner of the peer VPC.
Default: Your AWS account ID
cvpcPeerVpcId :: Lens' CreateVpcPeeringConnection (Maybe Text) Source
The ID of the VPC with which you are creating the VPC peering connection.
Response
Response constructor
createVpcPeeringConnectionResponse :: CreateVpcPeeringConnectionResponse Source
CreateVpcPeeringConnectionResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
cvpcrVpcPeeringConnection :: Lens' CreateVpcPeeringConnectionResponse (Maybe VpcPeeringConnection) Source
Information about the VPC peering connection.