You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::ScheduledInstancesNetworkInterface

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ScheduledInstancesNetworkInterface as input to an Aws::Client method, you can use a vanilla Hash:

{
  associate_public_ip_address: false,
  delete_on_termination: false,
  description: "String",
  device_index: 1,
  groups: ["String"],
  ipv_6_address_count: 1,
  ipv_6_addresses: [
    {
      ipv_6_address: "Ipv6Address",
    },
  ],
  network_interface_id: "String",
  private_ip_address: "String",
  private_ip_address_configs: [
    {
      primary: false,
      private_ip_address: "String",
    },
  ],
  secondary_private_ip_address_count: 1,
  subnet_id: "String",
}

Describes a network interface for a Scheduled Instance.

Instance Attribute Summary collapse

Instance Attribute Details

#associate_public_ip_addressBoolean

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.

Returns:

  • (Boolean)

    Indicates whether to assign a public IPv4 address to instances launched in a VPC.

#delete_on_terminationBoolean

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

Returns:

  • (Boolean)

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

#descriptionString

The description.

Returns:

  • (String)

    The description.

#device_indexInteger

The index of the device for the network interface attachment.

Returns:

  • (Integer)

    The index of the device for the network interface attachment.

#groupsArray<String>

The IDs of one or more security groups.

Returns:

  • (Array<String>)

    The IDs of one or more security groups.

#ipv_6_address_countInteger

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

Returns:

  • (Integer)

    The number of IPv6 addresses to assign to the network interface.

#ipv_6_addressesArray<Types::ScheduledInstancesIpv6Address>

One or more specific IPv6 addresses from the subnet range.

Returns:

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)

    The ID of the network interface.

#private_ip_addressString

The IPv4 address of the network interface within the subnet.

Returns:

  • (String)

    The IPv4 address of the network interface within the subnet.

#private_ip_address_configsArray<Types::ScheduledInstancesPrivateIpAddressConfig>

The private IPv4 addresses.

Returns:

#secondary_private_ip_address_countInteger

The number of secondary private IPv4 addresses.

Returns:

  • (Integer)

    The number of secondary private IPv4 addresses.

#subnet_idString

The ID of the subnet.

Returns:

  • (String)

    The ID of the subnet.