Safe Haskell | None |
---|---|
Language | Haskell2010 |
Creates a Virtual Private Cloud (VPC) with the CIDR block that you specify.
- data VPC = VPC {
- _vPCCidrBlock :: Val Text
- _vPCEnableDnsSupport :: Maybe (Val Bool')
- _vPCEnableDnsHostnames :: Maybe (Val Bool')
- _vPCInstanceTenancy :: Maybe (Val Text)
- _vPCTags :: Maybe [ResourceTag]
- vpc :: Val Text -> VPC
- vpcCidrBlock :: Lens' VPC (Val Text)
- vpcEnableDnsSupport :: Lens' VPC (Maybe (Val Bool'))
- vpcEnableDnsHostnames :: Lens' VPC (Maybe (Val Bool'))
- vpcInstanceTenancy :: Lens' VPC (Maybe (Val Text))
- vpcTags :: Lens' VPC (Maybe [ResourceTag])
Documentation
Full data type definition for VPC. See vpc
for a more convenient
constructor.
VPC | |
|
vpcCidrBlock :: Lens' VPC (Val Text) Source
The CIDR block you want the VPC to cover. For example: "10.0.0.0/16".
vpcEnableDnsSupport :: Lens' VPC (Maybe (Val Bool')) Source
Specifies whether DNS resolution is supported for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not. By default the value is set to true.
vpcEnableDnsHostnames :: Lens' VPC (Maybe (Val Bool')) Source
Specifies whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not. You can only set EnableDnsHostnames to true if you also set the EnableDnsSupport attribute to true. By default, the value is set to false.
vpcInstanceTenancy :: Lens' VPC (Maybe (Val Text)) Source
The allowed tenancy of instances launched into the VPC. "default": Instances can be launched with any tenancy. "dedicated": Any instance launched into the VPC will automatically be dedicated, regardless of the tenancy option you specify when you launch the instance.