stratosphere-0.1.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.EIPAssociation

Description

The AWS::EC2::EIPAssociation resource type associates an Elastic IP address with an Amazon EC2 instance. The Elastic IP address can be an existing Elastic IP address or an Elastic IP address allocated through an AWS::EC2::EIP resource. This type supports updates. For more information about updating stacks, see AWS CloudFormation Stacks Updates.

Synopsis

Documentation

eipAssociation :: EIPAssociation Source

Constructor for EIPAssociation containing required fields as arguments.

eipaAllocationId :: Lens' EIPAssociation (Maybe (Val Text)) Source

Allocation ID for the VPC Elastic IP address you want to associate with an Amazon EC2 instance in your VPC.

eipaEIP :: Lens' EIPAssociation (Maybe (Val Text)) Source

Elastic IP address that you want to associate with the Amazon EC2 instance specified by the InstanceId property. You can specify an existing Elastic IP address or a reference to an Elastic IP address allocated with a AWS::EC2::EIP resource.

eipaInstanceId :: Lens' EIPAssociation (Maybe (Val Text)) Source

Instance ID of the Amazon EC2 instance that you want to associate with the Elastic IP address specified by the EIP property.

eipaNetworkInterfaceId :: Lens' EIPAssociation (Maybe (Val Text)) Source

The ID of the network interface to associate with the Elastic IP address (VPC only).

eipaPrivateIpAddress :: Lens' EIPAssociation (Maybe (Val Text)) Source

The private IP address that you want to associate with the Elastic IP address. The private IP address is restricted to the primary and secondary private IP addresses that are associated with the network interface. By default, the private IP address that is associated with the EIP is the primary private IP address of the network interface.