AWS Fundamentals Logo
AWS Fundamentals
AWS::NetworkManager::TransitGatewayPeering

NetworkManager TransitGatewayPeering

AWS::NetworkManager::TransitGatewayPeering Resoruce Type.

Properties

3 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
CoreNetworkId
string
RequiredCreate-only
TransitGatewayArn
string
RequiredCreate-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
CoreNetworkArnstringThe ARN (Amazon Resource Name) of the core network that you want to peer a transit gateway to.
CreatedAtstringThe creation time of the transit gateway peering
EdgeLocationstringThe location of the transit gateway peering
LastModificationErrorsArray<string>Errors from the last modification of the transit gateway peering.
OwnerAccountIdstringPeering owner account Id
PeeringIdstringThe Id of the transit gateway peering
PeeringTypestringPeering type (TransitGatewayPeering)
ResourceArnstringThe ARN (Amazon Resource Name) of the resource that you will peer to a core network
StatestringThe state of the transit gateway peering
TransitGatewayPeeringAttachmentIdstringThe ID of the TransitGatewayPeeringAttachment

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::NetworkManager::TransitGatewayPeering

Resources:
  MyResource:
    Type: AWS::NetworkManager::TransitGatewayPeering
    Properties:
      CoreNetworkId: "my-corenetworkid"
      TransitGatewayArn: "arn:aws:service:region:account:resource"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

networkmanager:CreateTransitGatewayPeeringnetworkmanager:TagResourcenetworkmanager:GetTransitGatewayPeeringiam:CreateServiceLinkedRoleec2:CreateTransitGatewayPeeringAttachmentec2:AcceptTransitGatewayPeeringAttachmentec2:DescribeRegions

read

networkmanager:GetTransitGatewayPeering

update

networkmanager:TagResourcenetworkmanager:UntagResourcenetworkmanager:ListTagsForResourcenetworkmanager:GetTransitGatewayPeeringec2:DescribeRegions

delete

networkmanager:DeletePeeringnetworkmanager:GetTransitGatewayPeeringec2:DescribeRegions

list

networkmanager:ListPeerings

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceNetworkManager
Properties13
Required2
TaggingSupported
Primary IDPeeringId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

CoreNetworkIdTransitGatewayArn

External Links