amazonka-ec2-0.3.2: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ModifyNetworkInterfaceAttribute

Contents

Description

Modifies the specified network interface attribute. You can specify only one attribute at a time.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ModifyNetworkInterfaceAttribute.html

Synopsis

Request

Request constructor

Request lenses

mniaAttachment :: Lens' ModifyNetworkInterfaceAttribute (Maybe NetworkInterfaceAttachmentChanges) Source

Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.

mniaDescription :: Lens' ModifyNetworkInterfaceAttribute (Maybe AttributeValue) Source

A description for the network interface.

mniaGroups :: Lens' ModifyNetworkInterfaceAttribute [Text] Source

Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.

mniaNetworkInterfaceId :: Lens' ModifyNetworkInterfaceAttribute Text Source

The ID of the network interface.

mniaSourceDestCheck :: Lens' ModifyNetworkInterfaceAttribute (Maybe AttributeBooleanValue) Source

Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Response

Response constructor