1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. getTransitGatewayPeeringAttachment

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.ec2.getTransitGatewayPeeringAttachment

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

The AWS::EC2::TransitGatewayPeeringAttachment type

Using getTransitGatewayPeeringAttachment

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 getTransitGatewayPeeringAttachment(args: GetTransitGatewayPeeringAttachmentArgs, opts?: InvokeOptions): Promise<GetTransitGatewayPeeringAttachmentResult>
function getTransitGatewayPeeringAttachmentOutput(args: GetTransitGatewayPeeringAttachmentOutputArgs, opts?: InvokeOptions): Output<GetTransitGatewayPeeringAttachmentResult>
Copy
def get_transit_gateway_peering_attachment(transit_gateway_attachment_id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetTransitGatewayPeeringAttachmentResult
def get_transit_gateway_peering_attachment_output(transit_gateway_attachment_id: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetTransitGatewayPeeringAttachmentResult]
Copy
func LookupTransitGatewayPeeringAttachment(ctx *Context, args *LookupTransitGatewayPeeringAttachmentArgs, opts ...InvokeOption) (*LookupTransitGatewayPeeringAttachmentResult, error)
func LookupTransitGatewayPeeringAttachmentOutput(ctx *Context, args *LookupTransitGatewayPeeringAttachmentOutputArgs, opts ...InvokeOption) LookupTransitGatewayPeeringAttachmentResultOutput
Copy

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

public static class GetTransitGatewayPeeringAttachment 
{
    public static Task<GetTransitGatewayPeeringAttachmentResult> InvokeAsync(GetTransitGatewayPeeringAttachmentArgs args, InvokeOptions? opts = null)
    public static Output<GetTransitGatewayPeeringAttachmentResult> Invoke(GetTransitGatewayPeeringAttachmentInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTransitGatewayPeeringAttachmentResult> getTransitGatewayPeeringAttachment(GetTransitGatewayPeeringAttachmentArgs args, InvokeOptions options)
public static Output<GetTransitGatewayPeeringAttachmentResult> getTransitGatewayPeeringAttachment(GetTransitGatewayPeeringAttachmentArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:ec2:getTransitGatewayPeeringAttachment
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

TransitGatewayAttachmentId This property is required. string
The ID of the transit gateway peering attachment.
TransitGatewayAttachmentId This property is required. string
The ID of the transit gateway peering attachment.
transitGatewayAttachmentId This property is required. String
The ID of the transit gateway peering attachment.
transitGatewayAttachmentId This property is required. string
The ID of the transit gateway peering attachment.
transit_gateway_attachment_id This property is required. str
The ID of the transit gateway peering attachment.
transitGatewayAttachmentId This property is required. String
The ID of the transit gateway peering attachment.

getTransitGatewayPeeringAttachment Result

The following output properties are available:

CreationTime string
The time the transit gateway peering attachment was created.
State string
The state of the transit gateway peering attachment. Note that the initiating state has been deprecated.
Status Pulumi.AwsNative.Ec2.Outputs.TransitGatewayPeeringAttachmentPeeringAttachmentStatus
The status of the transit gateway peering attachment.
Tags List<Pulumi.AwsNative.Outputs.Tag>
The tags for the transit gateway peering attachment.
TransitGatewayAttachmentId string
The ID of the transit gateway peering attachment.
CreationTime string
The time the transit gateway peering attachment was created.
State string
The state of the transit gateway peering attachment. Note that the initiating state has been deprecated.
Status TransitGatewayPeeringAttachmentPeeringAttachmentStatus
The status of the transit gateway peering attachment.
Tags Tag
The tags for the transit gateway peering attachment.
TransitGatewayAttachmentId string
The ID of the transit gateway peering attachment.
creationTime String
The time the transit gateway peering attachment was created.
state String
The state of the transit gateway peering attachment. Note that the initiating state has been deprecated.
status TransitGatewayPeeringAttachmentPeeringAttachmentStatus
The status of the transit gateway peering attachment.
tags List<Tag>
The tags for the transit gateway peering attachment.
transitGatewayAttachmentId String
The ID of the transit gateway peering attachment.
creationTime string
The time the transit gateway peering attachment was created.
state string
The state of the transit gateway peering attachment. Note that the initiating state has been deprecated.
status TransitGatewayPeeringAttachmentPeeringAttachmentStatus
The status of the transit gateway peering attachment.
tags Tag[]
The tags for the transit gateway peering attachment.
transitGatewayAttachmentId string
The ID of the transit gateway peering attachment.
creation_time str
The time the transit gateway peering attachment was created.
state str
The state of the transit gateway peering attachment. Note that the initiating state has been deprecated.
status TransitGatewayPeeringAttachmentPeeringAttachmentStatus
The status of the transit gateway peering attachment.
tags Sequence[root_Tag]
The tags for the transit gateway peering attachment.
transit_gateway_attachment_id str
The ID of the transit gateway peering attachment.
creationTime String
The time the transit gateway peering attachment was created.
state String
The state of the transit gateway peering attachment. Note that the initiating state has been deprecated.
status Property Map
The status of the transit gateway peering attachment.
tags List<Property Map>
The tags for the transit gateway peering attachment.
transitGatewayAttachmentId String
The ID of the transit gateway peering attachment.

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

TransitGatewayPeeringAttachmentPeeringAttachmentStatus

Code string
The status code.
Message string
The status message, if applicable.
Code string
The status code.
Message string
The status message, if applicable.
code String
The status code.
message String
The status message, if applicable.
code string
The status code.
message string
The status message, if applicable.
code str
The status code.
message str
The status message, if applicable.
code String
The status code.
message String
The status message, if applicable.

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