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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes a network interface for a Scheduled Instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associate_public_ip_address ⇒ Boolean

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.

Returns:

  • (Boolean)


81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81858

class ScheduledInstancesNetworkInterface < Struct.new(
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_address_configs,
  :secondary_private_ip_address_count,
  :subnet_id)
  SENSITIVE = []
  include Aws::Structure
end

#delete_on_termination ⇒ Boolean

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

Returns:

  • (Boolean)


81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81858

class ScheduledInstancesNetworkInterface < Struct.new(
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_address_configs,
  :secondary_private_ip_address_count,
  :subnet_id)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

The description.

Returns:

  • (String)


81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81858

class ScheduledInstancesNetworkInterface < Struct.new(
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_address_configs,
  :secondary_private_ip_address_count,
  :subnet_id)
  SENSITIVE = []
  include Aws::Structure
end

#device_index ⇒ Integer

The index of the device for the network interface attachment.

Returns:

  • (Integer)


81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81858

class ScheduledInstancesNetworkInterface < Struct.new(
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_address_configs,
  :secondary_private_ip_address_count,
  :subnet_id)
  SENSITIVE = []
  include Aws::Structure
end

#groups ⇒ Array<String>

The IDs of the security groups.

Returns:

  • (Array<String>)


81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81858

class ScheduledInstancesNetworkInterface < Struct.new(
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_address_configs,
  :secondary_private_ip_address_count,
  :subnet_id)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_address_count ⇒ Integer

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

Returns:

  • (Integer)


81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81858

class ScheduledInstancesNetworkInterface < Struct.new(
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_address_configs,
  :secondary_private_ip_address_count,
  :subnet_id)
  SENSITIVE = []
  include Aws::Structure
end

#ipv_6_addresses ⇒ Array<Types::ScheduledInstancesIpv6Address>

The specific IPv6 addresses from the subnet range.



81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81858

class ScheduledInstancesNetworkInterface < Struct.new(
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_address_configs,
  :secondary_private_ip_address_count,
  :subnet_id)
  SENSITIVE = []
  include Aws::Structure
end

#network_interface_id ⇒ String

The ID of the network interface.

Returns:

  • (String)


81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81858

class ScheduledInstancesNetworkInterface < Struct.new(
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_address_configs,
  :secondary_private_ip_address_count,
  :subnet_id)
  SENSITIVE = []
  include Aws::Structure
end

#private_ip_address ⇒ String

The IPv4 address of the network interface within the subnet.

Returns:

  • (String)


81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81858

class ScheduledInstancesNetworkInterface < Struct.new(
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_address_configs,
  :secondary_private_ip_address_count,
  :subnet_id)
  SENSITIVE = []
  include Aws::Structure
end

#private_ip_address_configs ⇒ Array<Types::ScheduledInstancesPrivateIpAddressConfig>

The private IPv4 addresses.



81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81858

class ScheduledInstancesNetworkInterface < Struct.new(
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_address_configs,
  :secondary_private_ip_address_count,
  :subnet_id)
  SENSITIVE = []
  include Aws::Structure
end

#secondary_private_ip_address_count ⇒ Integer

The number of secondary private IPv4 addresses.

Returns:

  • (Integer)


81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81858

class ScheduledInstancesNetworkInterface < Struct.new(
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_address_configs,
  :secondary_private_ip_address_count,
  :subnet_id)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_id ⇒ String

The ID of the subnet.

Returns:

  • (String)


81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 81858

class ScheduledInstancesNetworkInterface < Struct.new(
  :associate_public_ip_address,
  :delete_on_termination,
  :description,
  :device_index,
  :groups,
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id,
  :private_ip_address,
  :private_ip_address_configs,
  :secondary_private_ip_address_count,
  :subnet_id)
  SENSITIVE = []
  include Aws::Structure
end