ec2_create_network_interface {aws.ecx}R Documentation

Create Network Interface

Description

Create Network Interface

Usage

ec2_create_network_interface(
  SubnetId,
  Description = NULL,
  DryRun = NULL,
  SecurityGroupId = NULL,
  Ipv6AddressCount = NULL,
  Ipv6Addresses = NULL,
  PrivateIpAddress = NULL,
  PrivateIpAddresses = NULL,
  SecondaryPrivateIpAddressCount = NULL,
  InterfaceType = NULL,
  TagSpecification = NULL,
  simplify = TRUE,
  others = list(),
  print_on_error = aws_get_print_on_error(),
  retry_time = aws_get_retry_time(),
  network_timeout = aws_get_network_timeout(),
  region = aws_get_region()
)

Arguments

SubnetId

Character. The ID of the subnet to associate with the network interface.

Description

Character. A description for the network interface.[optional]

DryRun

Logical. Checks whether you have the required permissions for the action, without actually making the request,...[optional]

SecurityGroupId

List. The IDs of one or more security groups.[optional]

Ipv6AddressCount

Integer. The number of IPv6 addresses to assign to a network interface.[optional]

Ipv6Addresses

List. One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet.[optional]

PrivateIpAddress

Character. The primary private IPv4 address of the network interface.[optional]

PrivateIpAddresses

List. One or more private IPv4 addresses.[optional]

SecondaryPrivateIpAddressCount

Integer. The number of secondary private IPv4 addresses to assign to a network interface.[optional]

InterfaceType

Character. Indicates the type of network interface.[optional]

TagSpecification

List. The tags to apply to the new network interface.[optional]

simplify

Logical. Whether to simplify the result and handle nextToken in the response[optional]

others

Named list. The parameters that are not included in the function parameters and need to be added into the request[optional]

print_on_error

Logical. Whether to show an error message when a network error occurs.

retry_time

Integer. Number of retries for a REST request when encounter the network issue. If the request has been sent retry_time times but still not be able to get the response, an error will be thrown.

network_timeout

Numeric. Number of seconds to wait for a REST response until giving up. Can not be less than 1 ms.

region

Character. The region of the AWS service.

Value

A list object or a character vector

SubnetId

The ID of the subnet to associate with the network interface.

Description

A description for the network interface.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

SecurityGroupId

The IDs of one or more security groups.

Ipv6AddressCount

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 specifying specific IPv6 addresses. If your subnet has the AssignIpv6AddressOnCreation attribute set to true, you can specify 0 to override this setting.

Ipv6Addresses

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can\'t use this option if you\'re specifying a number of IPv6 addresses.

PrivateIpAddress

The primary private IPv4 address of the network interface. If you don\'t specify an IPv4 address, Amazon EC2 selects one for you from the subnet\'s IPv4 CIDR range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary).

PrivateIpAddresses

One or more private IPv4 addresses.

SecondaryPrivateIpAddressCount

The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet\'s IPv4 CIDR range. You can\'t specify this option and specify more than one private IP address using privateIpAddresses.

The number of IP addresses you can assign to a network interface varies by instance type. For more information, see IP Addresses Per ENI Per Instance Type in the Amazon Virtual Private Cloud User Guide.

InterfaceType

Indicates the type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. For more information, see Elastic Fabric Adapter in the Amazon Elastic Compute Cloud User Guide.

TagSpecification

The tags to apply to the new network interface.


[Package aws.ecx version 1.0.5 Index]