Skip to content

Creates an Amazon Web Services Direct Connect gateway attachment

Description

Creates an Amazon Web Services Direct Connect gateway attachment

Usage

networkmanager_create_direct_connect_gateway_attachment(CoreNetworkId,
  DirectConnectGatewayArn, RoutingPolicyLabel, EdgeLocations, Tags,
  ClientToken)

Arguments

  • CoreNetworkId

    [required] The ID of the Cloud WAN core network that the Direct Connect gateway attachment should be attached to.

  • DirectConnectGatewayArn

    [required] The ARN of the Direct Connect gateway attachment.

  • RoutingPolicyLabel

    The routing policy label to apply to the Direct Connect Gateway attachment for traffic routing decisions.

  • EdgeLocations

    [required] One or more core network edge locations that the Direct Connect gateway attachment is associated with.

  • Tags

    The key value tags to apply to the Direct Connect gateway attachment during creation.

  • ClientToken

    client token

Value

A list with the following syntax:

list(
  DirectConnectGatewayAttachment = list(
    Attachment = list(
      CoreNetworkId = "string",
      CoreNetworkArn = "string",
      AttachmentId = "string",
      OwnerAccountId = "string",
      AttachmentType = "CONNECT"|"SITE_TO_SITE_VPN"|"VPC"|"DIRECT_CONNECT_GATEWAY"|"TRANSIT_GATEWAY_ROUTE_TABLE",
      State = "REJECTED"|"PENDING_ATTACHMENT_ACCEPTANCE"|"CREATING"|"FAILED"|"AVAILABLE"|"UPDATING"|"PENDING_NETWORK_UPDATE"|"PENDING_TAG_ACCEPTANCE"|"DELETING",
      EdgeLocation = "string",
      EdgeLocations = list(
        "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"|"DIRECT_CONNECT_GATEWAY_NOT_FOUND"|"DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS"|"DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"|"VPN_EXISTING_ASSOCIATIONS"|"VPC_UNSUPPORTED_FEATURES",
          Message = "string",
          ResourceArn = "string",
          RequestId = "string"
        )
      )
    ),
    DirectConnectGatewayArn = "string"
  )
)

Request syntax

svc$create_direct_connect_gateway_attachment(
  CoreNetworkId = "string",
  DirectConnectGatewayArn = "string",
  RoutingPolicyLabel = "string",
  EdgeLocations = list(
    "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  ClientToken = "string"
)