Skip to content

Create Connection

networkmanager_create_connection R Documentation

Creates a connection between two devices

Description

Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.

Usage

networkmanager_create_connection(GlobalNetworkId, DeviceId,
  ConnectedDeviceId, LinkId, ConnectedLinkId, Description, Tags)

Arguments

GlobalNetworkId

[required] The ID of the global network.

DeviceId

[required] The ID of the first device in the connection.

ConnectedDeviceId

[required] The ID of the second device in the connection.

LinkId

The ID of the link for the first device.

ConnectedLinkId

The ID of the link for the second device.

Description

A description of the connection.

Length Constraints: Maximum length of 256 characters.

Tags

The tags to apply to the resource during creation.

Value

A list with the following syntax:

list(
  Connection = list(
    ConnectionId = "string",
    ConnectionArn = "string",
    GlobalNetworkId = "string",
    DeviceId = "string",
    ConnectedDeviceId = "string",
    LinkId = "string",
    ConnectedLinkId = "string",
    Description = "string",
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    State = "PENDING"|"AVAILABLE"|"DELETING"|"UPDATING",
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

svc$create_connection(
  GlobalNetworkId = "string",
  DeviceId = "string",
  ConnectedDeviceId = "string",
  LinkId = "string",
  ConnectedLinkId = "string",
  Description = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)