Class: Aws::SecurityHub::Types::AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-securityhub/types.rb

Overview

One or more network interfaces to attach to an Amazon EC2 instance. If you specify a network interface, you must specify security groups and subnets as part of the 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. You 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, see

Carrier IP address][1

in the *Wavelength Developer Guide*.

[1]: docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip

Returns:

  • (Boolean)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#associate_public_ip_addressBoolean

Associates a public IPv4 address with eth0 for a new network interface.

Returns:

  • (Boolean)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#delete_on_terminationBoolean

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

Returns:

  • (Boolean)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#descriptionString

A description for the network interface.

Returns:

  • (String)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#device_indexInteger

The device index for the network interface attachment.

Returns:

  • (Integer)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#groupsArray<String>

The IDs of one or more security groups.

Returns:

  • (Array<String>)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#interface_typeString

The type of network interface.

Returns:

  • (String)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#ipv_4_prefix_countInteger

The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the ‘Ipv4Prefixes` option.

Returns:

  • (Integer)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#ipv_4_prefixesArray<Types::AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails>

One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the ‘Ipv4PrefixCount` option.



7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#ipv_6_address_countInteger

The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can’t use this option if you use ‘Ipv6Addresses`.

Returns:

  • (Integer)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#ipv_6_addressesArray<Types::AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails>

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can’t use this option if you use ‘Ipv6AddressCount`.



7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#ipv_6_prefix_countInteger

The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the ‘Ipv6Prefix` option.

Returns:

  • (Integer)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#ipv_6_prefixesArray<Types::AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails>

One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the ‘Ipv6PrefixCount` option.



7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#network_card_indexInteger

The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index ‘0`. The default is network card index `0`.

Returns:

  • (Integer)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#private_ip_addressString

The primary private IPv4 address of the network interface.

Returns:

  • (String)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#private_ip_addressesArray<Types::AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails>

One or more private IPv4 addresses.



7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#secondary_private_ip_address_countInteger

The number of secondary private IPv4 addresses to assign to a network interface.

Returns:

  • (Integer)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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

#subnet_idString

The ID of the subnet for the network interface.

Returns:

  • (String)


7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
# File 'lib/aws-sdk-securityhub/types.rb', line 7943

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