stratosphere-0.2.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

data EIPAssociation Source #

Full data type definition for EIPAssociation. See eipAssociation for a more convenient constructor.

Instances

Show EIPAssociation Source # 
Generic EIPAssociation Source # 

Associated Types

type Rep EIPAssociation :: * -> * #

ToJSON EIPAssociation Source # 
FromJSON EIPAssociation Source # 
type Rep EIPAssociation Source # 
type Rep EIPAssociation = D1 (MetaData "EIPAssociation" "Stratosphere.Resources.EIPAssociation" "stratosphere-0.2.0-B1WeL9cnxuQ3qer3csMa6f" False) (C1 (MetaCons "EIPAssociation" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_eIPAssociationAllocationId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_eIPAssociationEIP") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_eIPAssociationInstanceId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_eIPAssociationNetworkInterfaceId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_eIPAssociationPrivateIpAddress") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))))))

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.