1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. networkmanager
  5. getTransitGatewayPeering

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.networkmanager.getTransitGatewayPeering

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

AWS::NetworkManager::TransitGatewayPeering Resoruce Type.

Using getTransitGatewayPeering

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getTransitGatewayPeering(args: GetTransitGatewayPeeringArgs, opts?: InvokeOptions): Promise<GetTransitGatewayPeeringResult>
function getTransitGatewayPeeringOutput(args: GetTransitGatewayPeeringOutputArgs, opts?: InvokeOptions): Output<GetTransitGatewayPeeringResult>
Copy
def get_transit_gateway_peering(peering_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetTransitGatewayPeeringResult
def get_transit_gateway_peering_output(peering_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetTransitGatewayPeeringResult]
Copy
func LookupTransitGatewayPeering(ctx *Context, args *LookupTransitGatewayPeeringArgs, opts ...InvokeOption) (*LookupTransitGatewayPeeringResult, error)
func LookupTransitGatewayPeeringOutput(ctx *Context, args *LookupTransitGatewayPeeringOutputArgs, opts ...InvokeOption) LookupTransitGatewayPeeringResultOutput
Copy

> Note: This function is named LookupTransitGatewayPeering in the Go SDK.

public static class GetTransitGatewayPeering 
{
    public static Task<GetTransitGatewayPeeringResult> InvokeAsync(GetTransitGatewayPeeringArgs args, InvokeOptions? opts = null)
    public static Output<GetTransitGatewayPeeringResult> Invoke(GetTransitGatewayPeeringInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTransitGatewayPeeringResult> getTransitGatewayPeering(GetTransitGatewayPeeringArgs args, InvokeOptions options)
public static Output<GetTransitGatewayPeeringResult> getTransitGatewayPeering(GetTransitGatewayPeeringArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:networkmanager:getTransitGatewayPeering
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PeeringId This property is required. string
The Id of the transit gateway peering
PeeringId This property is required. string
The Id of the transit gateway peering
peeringId This property is required. String
The Id of the transit gateway peering
peeringId This property is required. string
The Id of the transit gateway peering
peering_id This property is required. str
The Id of the transit gateway peering
peeringId This property is required. String
The Id of the transit gateway peering

getTransitGatewayPeering Result

The following output properties are available:

CoreNetworkArn string
The ARN (Amazon Resource Name) of the core network that you want to peer a transit gateway to.
CreatedAt string
The creation time of the transit gateway peering
EdgeLocation string
The location of the transit gateway peering
OwnerAccountId string
Peering owner account Id
PeeringId string
The Id of the transit gateway peering
PeeringType string
Peering type (TransitGatewayPeering)
ResourceArn string
The ARN (Amazon Resource Name) of the resource that you will peer to a core network
State string
The state of the transit gateway peering
Tags List<Pulumi.AwsNative.Outputs.Tag>
An array of key-value pairs to apply to this resource.
TransitGatewayPeeringAttachmentId string
The ID of the TransitGatewayPeeringAttachment
CoreNetworkArn string
The ARN (Amazon Resource Name) of the core network that you want to peer a transit gateway to.
CreatedAt string
The creation time of the transit gateway peering
EdgeLocation string
The location of the transit gateway peering
OwnerAccountId string
Peering owner account Id
PeeringId string
The Id of the transit gateway peering
PeeringType string
Peering type (TransitGatewayPeering)
ResourceArn string
The ARN (Amazon Resource Name) of the resource that you will peer to a core network
State string
The state of the transit gateway peering
Tags Tag
An array of key-value pairs to apply to this resource.
TransitGatewayPeeringAttachmentId string
The ID of the TransitGatewayPeeringAttachment
coreNetworkArn String
The ARN (Amazon Resource Name) of the core network that you want to peer a transit gateway to.
createdAt String
The creation time of the transit gateway peering
edgeLocation String
The location of the transit gateway peering
ownerAccountId String
Peering owner account Id
peeringId String
The Id of the transit gateway peering
peeringType String
Peering type (TransitGatewayPeering)
resourceArn String
The ARN (Amazon Resource Name) of the resource that you will peer to a core network
state String
The state of the transit gateway peering
tags List<Tag>
An array of key-value pairs to apply to this resource.
transitGatewayPeeringAttachmentId String
The ID of the TransitGatewayPeeringAttachment
coreNetworkArn string
The ARN (Amazon Resource Name) of the core network that you want to peer a transit gateway to.
createdAt string
The creation time of the transit gateway peering
edgeLocation string
The location of the transit gateway peering
ownerAccountId string
Peering owner account Id
peeringId string
The Id of the transit gateway peering
peeringType string
Peering type (TransitGatewayPeering)
resourceArn string
The ARN (Amazon Resource Name) of the resource that you will peer to a core network
state string
The state of the transit gateway peering
tags Tag[]
An array of key-value pairs to apply to this resource.
transitGatewayPeeringAttachmentId string
The ID of the TransitGatewayPeeringAttachment
core_network_arn str
The ARN (Amazon Resource Name) of the core network that you want to peer a transit gateway to.
created_at str
The creation time of the transit gateway peering
edge_location str
The location of the transit gateway peering
owner_account_id str
Peering owner account Id
peering_id str
The Id of the transit gateway peering
peering_type str
Peering type (TransitGatewayPeering)
resource_arn str
The ARN (Amazon Resource Name) of the resource that you will peer to a core network
state str
The state of the transit gateway peering
tags Sequence[root_Tag]
An array of key-value pairs to apply to this resource.
transit_gateway_peering_attachment_id str
The ID of the TransitGatewayPeeringAttachment
coreNetworkArn String
The ARN (Amazon Resource Name) of the core network that you want to peer a transit gateway to.
createdAt String
The creation time of the transit gateway peering
edgeLocation String
The location of the transit gateway peering
ownerAccountId String
Peering owner account Id
peeringId String
The Id of the transit gateway peering
peeringType String
Peering type (TransitGatewayPeering)
resourceArn String
The ARN (Amazon Resource Name) of the resource that you will peer to a core network
state String
The state of the transit gateway peering
tags List<Property Map>
An array of key-value pairs to apply to this resource.
transitGatewayPeeringAttachmentId String
The ID of the TransitGatewayPeeringAttachment

Supporting Types

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi