Skip to content

EC2  >  Structures  >  ScheduledInstancesNetworkInterface

ScheduledInstancesNetworkInterface

Structure Class

ScheduledInstancesNetworkInterface dataclass

Bases: _SerdeShape

Describes a network interface for a Scheduled Instance.

Attributes

associate_public_ip_address class-attribute instance-attribute
associate_public_ip_address: bool | None = ...

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.

Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

delete_on_termination class-attribute instance-attribute
delete_on_termination: bool | None = ...

Indicates whether to delete the interface when the instance is terminated.

description class-attribute instance-attribute
description: str | None = ...

The description.

device_index class-attribute instance-attribute
device_index: int | None = ...

The index of the device for the network interface attachment.

groups class-attribute instance-attribute
groups: list[str] | None = ...

The IDs of the security groups.

ipv6_address_count class-attribute instance-attribute
ipv6_address_count: int | None = ...

The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically selected from the subnet range.

ipv6_addresses class-attribute instance-attribute
ipv6_addresses: list[ScheduledInstancesIpv6Address] | None = ...

The specific IPv6 addresses from the subnet range.

network_interface_id class-attribute instance-attribute
network_interface_id: str | None = ...

The ID of the network interface.

private_ip_address class-attribute instance-attribute
private_ip_address: str | None = ...

The IPv4 address of the network interface within the subnet.

private_ip_address_configs class-attribute instance-attribute
private_ip_address_configs: list[ScheduledInstancesPrivateIpAddressConfig] | None = ...

The private IPv4 addresses.

secondary_private_ip_address_count class-attribute instance-attribute
secondary_private_ip_address_count: int | None = ...

The number of secondary private IPv4 addresses.

subnet_id class-attribute instance-attribute
subnet_id: str | None = ...

The ID of the subnet.