stratosphere-0.1.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.NetworkInterface

Synopsis

Documentation

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.