Skip to content

Create Transit Gateway Route Table Attachment

networkmanager_create_transit_gateway_route_table_attachment R Documentation

Creates a transit gateway route table attachment

Description

Creates a transit gateway route table attachment.

Usage

networkmanager_create_transit_gateway_route_table_attachment(PeeringId,
  TransitGatewayRouteTableArn, Tags, ClientToken)

Arguments

PeeringId

[required] The ID of the peer for the

TransitGatewayRouteTableArn

[required] The ARN of the transit gateway route table for the attachment request. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456".

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(
  TransitGatewayRouteTableAttachment = 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"
        )
      )
    ),
    PeeringId = "string",
    TransitGatewayRouteTableArn = "string"
  )
)

Request syntax

svc$create_transit_gateway_route_table_attachment(
  PeeringId = "string",
  TransitGatewayRouteTableArn = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  ClientToken = "string"
)