stratosphere-0.1.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.EIP

Description

The AWS::EC2::EIP resource allocates an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance.

Synopsis

Documentation

data EIP Source

Full data type definition for EIP. See eip for a more convenient constructor.

Constructors

EIP 

eip :: EIP Source

Constructor for EIP containing required fields as arguments.

eipInstanceId :: Lens' EIP (Maybe (Val Text)) Source

The Instance ID of the Amazon EC2 instance that you want to associate with this Elastic IP address.

eipDomain :: Lens' EIP (Maybe (Val Text)) Source

Set to vpc to allocate the address to your Virtual Private Cloud (VPC). No other values are supported. Note If you define an Elastic IP address and associate it with a VPC that is defined in the same template, you must declare a dependency on the VPC-gateway attachment by using the DependsOn attribute on this resource. For more information, see DependsOn Attribute. For more information, see AllocateAddress in the Amazon EC2 API Reference. For more information about Elastic IP Addresses in VPC, go to IP Addressing in Your VPC in the Amazon VPC User Guide.