amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.ScheduledInstancesNetworkInterface

Description

 
Synopsis

Documentation

data ScheduledInstancesNetworkInterface Source #

Describes a network interface for a Scheduled Instance.

See: newScheduledInstancesNetworkInterface smart constructor.

Constructors

ScheduledInstancesNetworkInterface' 

Fields

Instances

Instances details
ToQuery ScheduledInstancesNetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesNetworkInterface

Generic ScheduledInstancesNetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesNetworkInterface

Associated Types

type Rep ScheduledInstancesNetworkInterface :: Type -> Type #

Read ScheduledInstancesNetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesNetworkInterface

Show ScheduledInstancesNetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesNetworkInterface

NFData ScheduledInstancesNetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesNetworkInterface

Eq ScheduledInstancesNetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesNetworkInterface

Hashable ScheduledInstancesNetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesNetworkInterface

type Rep ScheduledInstancesNetworkInterface Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstancesNetworkInterface

type Rep ScheduledInstancesNetworkInterface = D1 ('MetaData "ScheduledInstancesNetworkInterface" "Amazonka.EC2.Types.ScheduledInstancesNetworkInterface" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ScheduledInstancesNetworkInterface'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "associatePublicIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "deleteOnTermination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "deviceIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "ipv6AddressCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "ipv6Addresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ScheduledInstancesIpv6Address])) :*: (S1 ('MetaSel ('Just "networkInterfaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "privateIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "privateIpAddressConfigs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ScheduledInstancesPrivateIpAddressConfig])) :*: (S1 ('MetaSel ('Just "secondaryPrivateIpAddressCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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_deviceIndex :: Lens' ScheduledInstancesNetworkInterface (Maybe Int) Source #

The index of the device for the network interface attachment.

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_privateIpAddress :: Lens' ScheduledInstancesNetworkInterface (Maybe Text) Source #

The IPv4 address of the network interface within the subnet.