| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.ScheduledInstancesNetworkInterface
Description
Synopsis
- data ScheduledInstancesNetworkInterface = ScheduledInstancesNetworkInterface' {
- associatePublicIpAddress :: Maybe Bool
- deleteOnTermination :: Maybe Bool
- description :: Maybe Text
- deviceIndex :: Maybe Int
- groups :: Maybe [Text]
- ipv6AddressCount :: Maybe Int
- ipv6Addresses :: Maybe [ScheduledInstancesIpv6Address]
- networkInterfaceId :: Maybe Text
- privateIpAddress :: Maybe Text
- privateIpAddressConfigs :: Maybe [ScheduledInstancesPrivateIpAddressConfig]
- secondaryPrivateIpAddressCount :: Maybe Int
- subnetId :: Maybe Text
- newScheduledInstancesNetworkInterface :: ScheduledInstancesNetworkInterface
- scheduledInstancesNetworkInterface_associatePublicIpAddress :: Lens' ScheduledInstancesNetworkInterface (Maybe Bool)
- scheduledInstancesNetworkInterface_deleteOnTermination :: Lens' ScheduledInstancesNetworkInterface (Maybe Bool)
- scheduledInstancesNetworkInterface_description :: Lens' ScheduledInstancesNetworkInterface (Maybe Text)
- scheduledInstancesNetworkInterface_deviceIndex :: Lens' ScheduledInstancesNetworkInterface (Maybe Int)
- scheduledInstancesNetworkInterface_groups :: Lens' ScheduledInstancesNetworkInterface (Maybe [Text])
- scheduledInstancesNetworkInterface_ipv6AddressCount :: Lens' ScheduledInstancesNetworkInterface (Maybe Int)
- scheduledInstancesNetworkInterface_ipv6Addresses :: Lens' ScheduledInstancesNetworkInterface (Maybe [ScheduledInstancesIpv6Address])
- scheduledInstancesNetworkInterface_networkInterfaceId :: Lens' ScheduledInstancesNetworkInterface (Maybe Text)
- scheduledInstancesNetworkInterface_privateIpAddress :: Lens' ScheduledInstancesNetworkInterface (Maybe Text)
- scheduledInstancesNetworkInterface_privateIpAddressConfigs :: Lens' ScheduledInstancesNetworkInterface (Maybe [ScheduledInstancesPrivateIpAddressConfig])
- scheduledInstancesNetworkInterface_secondaryPrivateIpAddressCount :: Lens' ScheduledInstancesNetworkInterface (Maybe Int)
- scheduledInstancesNetworkInterface_subnetId :: Lens' ScheduledInstancesNetworkInterface (Maybe Text)
Documentation
data ScheduledInstancesNetworkInterface Source #
Describes a network interface for a Scheduled Instance.
See: newScheduledInstancesNetworkInterface smart constructor.
Constructors
| ScheduledInstancesNetworkInterface' | |
Fields
| |
Instances
newScheduledInstancesNetworkInterface :: ScheduledInstancesNetworkInterface Source #
Create a value of ScheduledInstancesNetworkInterface with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:associatePublicIpAddress:ScheduledInstancesNetworkInterface', scheduledInstancesNetworkInterface_associatePublicIpAddress - Indicates whether to assign a public IPv4 address to instances launched
in a VPC. The public IPv4 address can only be assigned to a network
interface for eth0, and can only be assigned to a new network interface,
not an existing one. You cannot specify more than one network interface
in the request. If launching into a default subnet, the default value is
true.
$sel:deleteOnTermination:ScheduledInstancesNetworkInterface', scheduledInstancesNetworkInterface_deleteOnTermination - Indicates whether to delete the interface when the instance is
terminated.
$sel:description:ScheduledInstancesNetworkInterface', scheduledInstancesNetworkInterface_description - The description.
$sel:deviceIndex:ScheduledInstancesNetworkInterface', scheduledInstancesNetworkInterface_deviceIndex - The index of the device for the network interface attachment.
$sel:groups:ScheduledInstancesNetworkInterface', scheduledInstancesNetworkInterface_groups - The IDs of the security groups.
$sel:ipv6AddressCount:ScheduledInstancesNetworkInterface', scheduledInstancesNetworkInterface_ipv6AddressCount - The number of IPv6 addresses to assign to the network interface. The
IPv6 addresses are automatically selected from the subnet range.
$sel:ipv6Addresses:ScheduledInstancesNetworkInterface', scheduledInstancesNetworkInterface_ipv6Addresses - The specific IPv6 addresses from the subnet range.
$sel:networkInterfaceId:ScheduledInstancesNetworkInterface', scheduledInstancesNetworkInterface_networkInterfaceId - The ID of the network interface.
ScheduledInstancesNetworkInterface, scheduledInstancesNetworkInterface_privateIpAddress - The IPv4 address of the network interface within the subnet.
$sel:privateIpAddressConfigs:ScheduledInstancesNetworkInterface', scheduledInstancesNetworkInterface_privateIpAddressConfigs - The private IPv4 addresses.
$sel:secondaryPrivateIpAddressCount:ScheduledInstancesNetworkInterface', scheduledInstancesNetworkInterface_secondaryPrivateIpAddressCount - The number of secondary private IPv4 addresses.
$sel:subnetId:ScheduledInstancesNetworkInterface', scheduledInstancesNetworkInterface_subnetId - The ID of the subnet.
scheduledInstancesNetworkInterface_associatePublicIpAddress :: Lens' ScheduledInstancesNetworkInterface (Maybe Bool) Source #
Indicates whether to assign a public IPv4 address to instances launched
in a VPC. The public IPv4 address can only be assigned to a network
interface for eth0, and can only be assigned to a new network interface,
not an existing one. You cannot specify more than one network interface
in the request. If launching into a default subnet, the default value is
true.
scheduledInstancesNetworkInterface_deleteOnTermination :: Lens' ScheduledInstancesNetworkInterface (Maybe Bool) Source #
Indicates whether to delete the interface when the instance is terminated.
scheduledInstancesNetworkInterface_description :: Lens' ScheduledInstancesNetworkInterface (Maybe Text) Source #
The description.
scheduledInstancesNetworkInterface_deviceIndex :: Lens' ScheduledInstancesNetworkInterface (Maybe Int) Source #
The index of the device for the network interface attachment.
scheduledInstancesNetworkInterface_groups :: Lens' ScheduledInstancesNetworkInterface (Maybe [Text]) Source #
The IDs of the security groups.
scheduledInstancesNetworkInterface_ipv6AddressCount :: Lens' ScheduledInstancesNetworkInterface (Maybe Int) Source #
The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically selected from the subnet range.
scheduledInstancesNetworkInterface_ipv6Addresses :: Lens' ScheduledInstancesNetworkInterface (Maybe [ScheduledInstancesIpv6Address]) Source #
The specific IPv6 addresses from the subnet range.
scheduledInstancesNetworkInterface_networkInterfaceId :: Lens' ScheduledInstancesNetworkInterface (Maybe Text) Source #
The ID of the network interface.
scheduledInstancesNetworkInterface_privateIpAddress :: Lens' ScheduledInstancesNetworkInterface (Maybe Text) Source #
The IPv4 address of the network interface within the subnet.
scheduledInstancesNetworkInterface_privateIpAddressConfigs :: Lens' ScheduledInstancesNetworkInterface (Maybe [ScheduledInstancesPrivateIpAddressConfig]) Source #
The private IPv4 addresses.
scheduledInstancesNetworkInterface_secondaryPrivateIpAddressCount :: Lens' ScheduledInstancesNetworkInterface (Maybe Int) Source #
The number of secondary private IPv4 addresses.
scheduledInstancesNetworkInterface_subnetId :: Lens' ScheduledInstancesNetworkInterface (Maybe Text) Source #
The ID of the subnet.