stratosphere-0.2.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.NetworkInterface

Synopsis

Documentation

data NetworkInterface Source #

Full data type definition for NetworkInterface. See networkInterface for a more convenient constructor.

Instances

Show NetworkInterface Source # 
Generic NetworkInterface Source # 
ToJSON NetworkInterface Source # 
FromJSON NetworkInterface Source # 
type Rep NetworkInterface Source # 
type Rep NetworkInterface = D1 (MetaData "NetworkInterface" "Stratosphere.ResourceProperties.NetworkInterface" "stratosphere-0.2.0-B1WeL9cnxuQ3qer3csMa6f" False) (C1 (MetaCons "NetworkInterface" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_networkInterfaceAssociatePublicIpAddress") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Bool')))) (S1 (MetaSel (Just Symbol "_networkInterfaceDeleteOnTermination") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Bool'))))) ((:*:) (S1 (MetaSel (Just Symbol "_networkInterfaceDescription") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_networkInterfaceDeviceIndex") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) (S1 (MetaSel (Just Symbol "_networkInterfaceGroupSet") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Val Text])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_networkInterfaceNetworkInterfaceId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_networkInterfacePrivateIpAddress") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_networkInterfacePrivateIpAddresses") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [PrivateIpAddressSpecification]))) ((:*:) (S1 (MetaSel (Just Symbol "_networkInterfaceSecondaryPrivateIpAddressCount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Integer')))) (S1 (MetaSel (Just Symbol "_networkInterfaceSubnetId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))))))))

networkInterface Source #

Constructor for NetworkInterface containing required fields as arguments.

niAssociatePublicIpAddress :: Lens' NetworkInterface (Maybe (Val Bool')) Source #

Indicates whether the network interface receives a public IP address. You can associate a public IP address with a network interface only if it has a device index of eth0 and if it is a new network interface (not an existing one). In other words, if you specify true, don't specify a network interface ID. For more information, see Amazon EC2 Instance IP Addressing.

niDeleteOnTermination :: Lens' NetworkInterface (Maybe (Val Bool')) Source #

Whether to delete the network interface when the instance terminates.

niDescription :: Lens' NetworkInterface (Maybe (Val Text)) Source #

The description of this network interface.

niDeviceIndex :: Lens' NetworkInterface (Val Text) Source #

The network interface's position in the attachment order.

niGroupSet :: Lens' NetworkInterface (Maybe [Val Text]) Source #

A list of security group IDs associated with this network interface.

niNetworkInterfaceId :: Lens' NetworkInterface (Maybe (Val Text)) Source #

An existing network interface ID.

niPrivateIpAddress :: Lens' NetworkInterface (Maybe (Val Text)) Source #

Assigns a single private IP address to the network interface, which is used as the primary private IP address. If you want to specify multiple private IP address, use the PrivateIpAddresses property.

niPrivateIpAddresses :: Lens' NetworkInterface (Maybe [PrivateIpAddressSpecification]) Source #

Assigns a list of private IP addresses to the network interface. You can specify a primary private IP address by setting the value of the Primary property to true in the PrivateIpAddressSpecification property. If you want Amazon EC2 to automatically assign private IP addresses, use the SecondaryPrivateIpCount property and do not specify this property. For information about the maximum number of private IP addresses, see Private IP Addresses Per ENI Per Instance Type in the Amazon EC2 User Guide for Linux Instances.

niSecondaryPrivateIpAddressCount :: Lens' NetworkInterface (Maybe (Val Integer')) Source #

The number of secondary private IP addresses that Amazon EC2 auto assigns to the network interface. Amazon EC2 uses the value of the PrivateIpAddress property as the primary private IP address. If you don't specify that property, Amazon EC2 auto assigns both the primary and secondary private IP addresses. If you want to specify your own list of private IP addresses, use the PrivateIpAddresses property and do not specify this property. For information about the maximum number of private IP addresses, see Private IP Addresses Per ENI Per Instance Type in the Amazon EC2 User Guide for Linux Instances.

niSubnetId :: Lens' NetworkInterface (Maybe (Val Text)) Source #

The ID of the subnet to associate with the network interface.