stratosphere-0.1.3: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.Subnet

Description

Creates a subnet in an existing VPC.

Synopsis

Documentation

data Subnet Source #

Full data type definition for Subnet. See subnet for a more convenient constructor.

Instances

Show Subnet Source # 
Generic Subnet Source # 

Associated Types

type Rep Subnet :: * -> * #

Methods

from :: Subnet -> Rep Subnet x #

to :: Rep Subnet x -> Subnet #

ToJSON Subnet Source # 
FromJSON Subnet Source # 
type Rep Subnet Source # 
type Rep Subnet = D1 (MetaData "Subnet" "Stratosphere.Resources.Subnet" "stratosphere-0.1.3-HXdWlc1MCh5Gppf0ypvPw" False) (C1 (MetaCons "Subnet" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_subnetAvailabilityZone") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_subnetCidrBlock") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_subnetMapPublicIpOnLaunch") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Bool')))) ((:*:) (S1 (MetaSel (Just Symbol "_subnetTags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ResourceTag]))) (S1 (MetaSel (Just Symbol "_subnetVpcId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text)))))))

subnet Source #

Constructor for Subnet containing required fields as arguments.

sAvailabilityZone :: Lens' Subnet (Maybe (Val Text)) Source #

The availability zone in which you want the subnet. Default: AWS selects a zone for you (recommended).

sCidrBlock :: Lens' Subnet (Val Text) Source #

The CIDR block that you want the subnet to cover (for example, "10.0.0.0/24").

sMapPublicIpOnLaunch :: Lens' Subnet (Maybe (Val Bool')) Source #

Indicates whether instances that are launched in this subnet receive a public IP address. By default, the value is false.

sTags :: Lens' Subnet (Maybe [ResourceTag]) Source #

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

sVpcId :: Lens' Subnet (Val Text) Source #

A Ref structure that contains the ID of the VPC on which you want to create the subnet. The VPC ID is provided as the value of the Ref property, as: { Ref: VPCID }.