stratosphere-0.1.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.VPC

Description

Creates a Virtual Private Cloud (VPC) with the CIDR block that you specify.

Synopsis

Documentation

data VPC Source

Full data type definition for VPC. See vpc for a more convenient constructor.

vpc Source

Arguments

:: Val Text

vpcCidrBlock

-> VPC 

Constructor for VPC containing required fields as arguments.

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.

vpcTags :: Lens' VPC (Maybe [ResourceTag]) Source

An arbitrary set of tags (key–value pairs) for this VPC.