Class: Aws::EC2::Types::ScheduledInstancesNetworkInterface
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ScheduledInstancesNetworkInterface
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass ScheduledInstancesNetworkInterface data as a 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
-
#associate_public_ip_address ⇒ Boolean
Indicates whether to assign a public IPv4 address to instances launched in a VPC.
-
#delete_on_termination ⇒ Boolean
Indicates whether to delete the interface when the instance is terminated.
-
#description ⇒ String
The description.
-
#device_index ⇒ Integer
The index of the device for the network interface attachment.
-
#groups ⇒ Array<String>
The IDs of one or more security groups.
-
#ipv_6_address_count ⇒ Integer
The number of IPv6 addresses to assign to the network interface.
-
#ipv_6_addresses ⇒ Array<Types::ScheduledInstancesIpv6Address>
One or more specific IPv6 addresses from the subnet range.
-
#network_interface_id ⇒ String
The ID of the network interface.
-
#private_ip_address ⇒ String
The IPv4 address of the network interface within the subnet.
-
#private_ip_address_configs ⇒ Array<Types::ScheduledInstancesPrivateIpAddressConfig>
The private IPv4 addresses.
-
#secondary_private_ip_address_count ⇒ Integer
The number of secondary private IPv4 addresses.
-
#subnet_id ⇒ String
The ID of the subnet.
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`.
32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 |
# File 'lib/aws-sdk-ec2/types.rb', line 32982 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) include Aws::Structure end |
#delete_on_termination ⇒ Boolean
Indicates whether to delete the interface when the instance is terminated.
32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 |
# File 'lib/aws-sdk-ec2/types.rb', line 32982 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) include Aws::Structure end |
#description ⇒ String
The description.
32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 |
# File 'lib/aws-sdk-ec2/types.rb', line 32982 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) include Aws::Structure end |
#device_index ⇒ Integer
The index of the device for the network interface attachment.
32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 |
# File 'lib/aws-sdk-ec2/types.rb', line 32982 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) include Aws::Structure end |
#groups ⇒ Array<String>
The IDs of one or more security groups.
32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 |
# File 'lib/aws-sdk-ec2/types.rb', line 32982 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) 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.
32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 |
# File 'lib/aws-sdk-ec2/types.rb', line 32982 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) include Aws::Structure end |
#ipv_6_addresses ⇒ Array<Types::ScheduledInstancesIpv6Address>
One or more specific IPv6 addresses from the subnet range.
32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 |
# File 'lib/aws-sdk-ec2/types.rb', line 32982 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) include Aws::Structure end |
#network_interface_id ⇒ String
The ID of the network interface.
32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 |
# File 'lib/aws-sdk-ec2/types.rb', line 32982 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) include Aws::Structure end |
#private_ip_address ⇒ String
The IPv4 address of the network interface within the subnet.
32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 |
# File 'lib/aws-sdk-ec2/types.rb', line 32982 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) include Aws::Structure end |
#private_ip_address_configs ⇒ Array<Types::ScheduledInstancesPrivateIpAddressConfig>
The private IPv4 addresses.
32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 |
# File 'lib/aws-sdk-ec2/types.rb', line 32982 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) include Aws::Structure end |
#secondary_private_ip_address_count ⇒ Integer
The number of secondary private IPv4 addresses.
32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 |
# File 'lib/aws-sdk-ec2/types.rb', line 32982 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) include Aws::Structure end |
#subnet_id ⇒ String
The ID of the subnet.
32982 32983 32984 32985 32986 32987 32988 32989 32990 32991 32992 32993 32994 32995 32996 |
# File 'lib/aws-sdk-ec2/types.rb', line 32982 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) include Aws::Structure end |