Skip to content

Create Connect Attachment

networkmanager_create_connect_attachment R Documentation

Creates a core network Connect attachment from a specified core network attachment

Description

Creates a core network Connect attachment from a specified core network attachment.

A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.

Usage

networkmanager_create_connect_attachment(CoreNetworkId, EdgeLocation,
  TransportAttachmentId, Options, Tags, ClientToken)

Arguments

CoreNetworkId

[required] The ID of a core network where you want to create the attachment.

EdgeLocation

[required] The Region where the edge is located.

TransportAttachmentId

[required] The ID of the attachment between the two connections.

Options

[required] Options for creating an attachment.

Tags

The list of key-value tags associated with the request.

ClientToken

The client token associated with the request.

Value

A list with the following syntax:

list(
  ConnectAttachment = list(
    Attachment = list(
      CoreNetworkId = "string",
      CoreNetworkArn = "string",
      AttachmentId = "string",
      OwnerAccountId = "string",
      AttachmentType = "CONNECT"|"SITE_TO_SITE_VPN"|"VPC"|"TRANSIT_GATEWAY_ROUTE_TABLE",
      State = "REJECTED"|"PENDING_ATTACHMENT_ACCEPTANCE"|"CREATING"|"FAILED"|"AVAILABLE"|"UPDATING"|"PENDING_NETWORK_UPDATE"|"PENDING_TAG_ACCEPTANCE"|"DELETING",
      EdgeLocation = "string",
      ResourceArn = "string",
      AttachmentPolicyRuleNumber = 123,
      SegmentName = "string",
      NetworkFunctionGroupName = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      ProposedSegmentChange = list(
        Tags = list(
          list(
            Key = "string",
            Value = "string"
          )
        ),
        AttachmentPolicyRuleNumber = 123,
        SegmentName = "string"
      ),
      ProposedNetworkFunctionGroupChange = list(
        Tags = list(
          list(
            Key = "string",
            Value = "string"
          )
        ),
        AttachmentPolicyRuleNumber = 123,
        NetworkFunctionGroupName = "string"
      ),
      CreatedAt = as.POSIXct(
        "2015-01-01"
      ),
      UpdatedAt = as.POSIXct(
        "2015-01-01"
      ),
      LastModificationErrors = list(
        list(
          Code = "VPC_NOT_FOUND"|"SUBNET_NOT_FOUND"|"SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE"|"SUBNET_NO_FREE_ADDRESSES"|"SUBNET_UNSUPPORTED_AVAILABILITY_ZONE"|"SUBNET_NO_IPV6_CIDRS"|"VPN_CONNECTION_NOT_FOUND"|"MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED",
          Message = "string",
          ResourceArn = "string",
          RequestId = "string"
        )
      )
    ),
    TransportAttachmentId = "string",
    Options = list(
      Protocol = "GRE"|"NO_ENCAP"
    )
  )
)

Request syntax

svc$create_connect_attachment(
  CoreNetworkId = "string",
  EdgeLocation = "string",
  TransportAttachmentId = "string",
  Options = list(
    Protocol = "GRE"|"NO_ENCAP"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  ClientToken = "string"
)