Class: Aws::EC2::Types::LaunchTemplateInstanceNetworkInterfaceSpecification

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

Overview

Describes a network interface.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associate_carrier_ip_addressBoolean

Indicates whether to associate a Carrier IP address with eth0 for a new network interface.

Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the AWS Wavelength Developer Guide.

Returns:

  • (Boolean)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#associate_public_ip_addressBoolean

Indicates whether to associate a public IPv4 address with eth0 for a new network interface.

Returns:

  • (Boolean)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#delete_on_terminationBoolean

Indicates whether the network interface is deleted when the instance is terminated.

Returns:

  • (Boolean)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#descriptionString

A description for the network interface.

Returns:

  • (String)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#device_indexInteger

The device index for the network interface attachment.

Returns:

  • (Integer)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#groupsArray<String>

The IDs of one or more security groups.

Returns:

  • (Array<String>)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#interface_typeString

The type of network interface.

Returns:

  • (String)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#ipv_6_address_countInteger

The number of IPv6 addresses for the network interface.

Returns:

  • (Integer)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#ipv_6_addressesArray<Types::InstanceIpv6Address>

The IPv6 addresses for the network interface.

Returns:



33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#network_card_indexInteger

The index of the network card.

Returns:

  • (Integer)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#private_ip_addressString

The primary private IPv4 address of the network interface.

Returns:

  • (String)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#private_ip_addressesArray<Types::PrivateIpAddressSpecification>

One or more private IPv4 addresses.



33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#secondary_private_ip_address_countInteger

The number of secondary private IPv4 addresses for the network interface.

Returns:

  • (Integer)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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

#subnet_idString

The ID of the subnet for the network interface.

Returns:

  • (String)


33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33942

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