Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Modifies a subnet attribute. You can only modify one attribute at a time.
Synopsis
- modifySubnetAttribute :: Text -> ModifySubnetAttribute
- data ModifySubnetAttribute
- msaAssignIPv6AddressOnCreation :: Lens' ModifySubnetAttribute (Maybe AttributeBooleanValue)
- msaMapPublicIPOnLaunch :: Lens' ModifySubnetAttribute (Maybe AttributeBooleanValue)
- msaSubnetId :: Lens' ModifySubnetAttribute Text
- modifySubnetAttributeResponse :: ModifySubnetAttributeResponse
- data ModifySubnetAttributeResponse
Creating a Request
modifySubnetAttribute Source #
Creates a value of ModifySubnetAttribute
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
msaAssignIPv6AddressOnCreation
- Specifytrue
to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives an IPv6 address). If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives an IPv6 address if it's created using version2016-11-15
or later of the Amazon EC2 API.msaMapPublicIPOnLaunch
- Specifytrue
to indicate that network interfaces created in the specified subnet should be assigned a public IPv4 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives a public IPv4 address).msaSubnetId
- The ID of the subnet.
data ModifySubnetAttribute Source #
Contains the parameters for ModifySubnetAttribute.
See: modifySubnetAttribute
smart constructor.
Instances
Request Lenses
msaAssignIPv6AddressOnCreation :: Lens' ModifySubnetAttribute (Maybe AttributeBooleanValue) Source #
Specify true
to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives an IPv6 address). If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives an IPv6 address if it's created using version 2016-11-15
or later of the Amazon EC2 API.
msaMapPublicIPOnLaunch :: Lens' ModifySubnetAttribute (Maybe AttributeBooleanValue) Source #
Specify true
to indicate that network interfaces created in the specified subnet should be assigned a public IPv4 address. This includes a network interface that's created when launching an instance into the subnet (the instance therefore receives a public IPv4 address).
msaSubnetId :: Lens' ModifySubnetAttribute Text Source #
The ID of the subnet.
Destructuring the Response
modifySubnetAttributeResponse :: ModifySubnetAttributeResponse Source #
Creates a value of ModifySubnetAttributeResponse
with the minimum fields required to make a request.
data ModifySubnetAttributeResponse Source #
See: modifySubnetAttributeResponse
smart constructor.