Skip to content

Create Transit Gateway Peering

networkmanager_create_transit_gateway_peering R Documentation

Creates a transit gateway peering connection

Description

Creates a transit gateway peering connection.

Usage

networkmanager_create_transit_gateway_peering(CoreNetworkId,
  TransitGatewayArn, Tags, ClientToken)

Arguments

CoreNetworkId

[required] The ID of a core network.

TransitGatewayArn

[required] The ARN of the transit gateway for the peering request.

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(
  TransitGatewayPeering = list(
    Peering = list(
      CoreNetworkId = "string",
      CoreNetworkArn = "string",
      PeeringId = "string",
      OwnerAccountId = "string",
      PeeringType = "TRANSIT_GATEWAY",
      State = "CREATING"|"FAILED"|"AVAILABLE"|"DELETING",
      EdgeLocation = "string",
      ResourceArn = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      CreatedAt = as.POSIXct(
        "2015-01-01"
      ),
      LastModificationErrors = list(
        list(
          Code = "TRANSIT_GATEWAY_NOT_FOUND"|"TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED"|"MISSING_PERMISSIONS"|"INTERNAL_ERROR"|"EDGE_LOCATION_PEER_DUPLICATE"|"INVALID_TRANSIT_GATEWAY_STATE",
          Message = "string",
          ResourceArn = "string",
          RequestId = "string",
          MissingPermissionsContext = list(
            MissingPermission = "string"
          )
        )
      )
    ),
    TransitGatewayArn = "string",
    TransitGatewayPeeringAttachmentId = "string"
  )
)

Request syntax

svc$create_transit_gateway_peering(
  CoreNetworkId = "string",
  TransitGatewayArn = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  ClientToken = "string"
)