GET /#Action=AttachNetworkInterface

Attaches a network interface to an instance.

Servers

Request headers

Name Type Required Description
X-Amz-Content-Sha256 String No
X-Amz-Credential String No
X-Amz-Date String No
X-Amz-Algorithm String No
X-Amz-SignedHeaders String No
X-Amz-Security-Token String No
X-Amz-Signature String No

Query parameters

Name Type Required Description
InstanceId String Yes

The ID of the instance.

Version String Yes

Possible values:

  • "2016-11-15"
NetworkInterfaceId String Yes

The ID of the network interface.

NetworkCardIndex Integer No

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.

DeviceIndex Integer Yes

The index of the device for the network interface attachment.

DryRun Boolean No

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.

EnaSrdSpecification Object No

Configures ENA Express for the network interface that this action attaches to the instance.

Action String Yes

Possible values:

  • "AttachNetworkInterface"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.