You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::NetworkInterface Instance Attribute Summary collapseThe network interface attachment.
The Availability Zone.
A description.
Any security groups for the network interface.
The type of network interface.
The IPv6 addresses associated with the network interface.
The MAC address.
The ID of the network interface.
The Amazon Resource Name (ARN) of the Outpost.
The AWS account ID of the owner of the network interface.
The private DNS name.
The IPv4 address of the network interface within the subnet.
The private IPv4 addresses associated with the network interface.
The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto Scaling).
Indicates whether the network interface is being managed by AWS.
Indicates whether traffic to or from the instance is validated.
The status of the network interface.
The ID of the subnet.
Any tags assigned to the network interface.
The ID of the VPC.
Assigns one or more secondary private IP addresses to the specified network interface.
You can specify one or more specific secondary IP addresses, or you can specify the number of secondary IP addresses to be automatically assigned within the subnet's CIDR block range.
Attaches a network interface to an instance.
.
Deletes the specified network interface.
Describes a network interface attribute.
Detaches a network interface from an instance.
.
Modifies the specified network interface attribute.
Resets a network interface attribute.
Unassigns one or more secondary private IP addresses from a network interface.
.
add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until
Methods included from Resources::OperationMethods#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations
Constructor Details #initialize(id, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object Instance Attribute Details #availability_zone ⇒ String #interface_type ⇒ StringThe type of network interface.
Possible values:
The ID of the network interface.
#outpost_arn ⇒ StringThe Amazon Resource Name (ARN) of the Outpost.
#owner_id ⇒ StringThe AWS account ID of the owner of the network interface.
#private_dns_name ⇒ String #private_ip_address ⇒ StringThe IPv4 address of the network interface within the subnet.
#requester_id ⇒ StringThe ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto Scaling).
#requester_managed ⇒ BooleanIndicates whether the network interface is being managed by AWS.
#source_dest_check ⇒ BooleanIndicates whether traffic to or from the instance is validated.
#status ⇒ StringThe status of the network interface.
Possible values:
Any tags assigned to the network interface.
Instance Method Details #assign_private_ip_addresses(options = {}) ⇒ Types::AssignPrivateIpAddressesResultAssigns one or more secondary private IP addresses to the specified network interface.
You can specify one or more specific secondary IP addresses, or you can specify the number of secondary IP addresses to be automatically assigned within the subnet's CIDR block range. The number of secondary IP addresses that you can assign to an instance varies by instance type. For information about instance types, see Instance Types in the Amazon Elastic Compute Cloud User Guide. For more information about Elastic IP addresses, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.
When you move a secondary private IP address to another network interface, any Elastic IP address that is associated with the IP address is also moved.
Remapping an IP address is an asynchronous operation. When you move an IP address from one network interface to another, check network/interfaces/macs/mac/local-ipv4s
in the instance metadata to confirm that the remapping is complete.
You must specify either the IP addresses or the IP address count in the request.
#create_tags(options = {}) ⇒ Array<Tag> #delete(options = {}) ⇒ StructDeletes the specified network interface. You must detach the network interface before you can delete it.
#delete_tags(options = {}) ⇒ Array<Tag> #detach(options = {}) ⇒ StructDetaches a network interface from an instance.
#modify_attribute(options = {}) ⇒ StructModifies the specified network interface attribute. You can specify only one attribute at a time. You can use this action to attach and detach security groups from an existing EC2 instance.
#reset_attribute(options = {}) ⇒ StructResets a network interface attribute. You can specify only one attribute at a time.
#unassign_private_ip_addresses(options = {}) ⇒ StructUnassigns one or more secondary private IP addresses from a network interface.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4