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

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.ec2.getTransitGatewayConnect

Explore with Pulumi AI

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

The AWS::EC2::TransitGatewayConnect type

Using getTransitGatewayConnect

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 getTransitGatewayConnect(args: GetTransitGatewayConnectArgs, opts?: InvokeOptions): Promise<GetTransitGatewayConnectResult>
function getTransitGatewayConnectOutput(args: GetTransitGatewayConnectOutputArgs, opts?: InvokeOptions): Output<GetTransitGatewayConnectResult>
Copy
def get_transit_gateway_connect(transit_gateway_attachment_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetTransitGatewayConnectResult
def get_transit_gateway_connect_output(transit_gateway_attachment_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetTransitGatewayConnectResult]
Copy
func LookupTransitGatewayConnect(ctx *Context, args *LookupTransitGatewayConnectArgs, opts ...InvokeOption) (*LookupTransitGatewayConnectResult, error)
func LookupTransitGatewayConnectOutput(ctx *Context, args *LookupTransitGatewayConnectOutputArgs, opts ...InvokeOption) LookupTransitGatewayConnectResultOutput
Copy

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

public static class GetTransitGatewayConnect 
{
    public static Task<GetTransitGatewayConnectResult> InvokeAsync(GetTransitGatewayConnectArgs args, InvokeOptions? opts = null)
    public static Output<GetTransitGatewayConnectResult> Invoke(GetTransitGatewayConnectInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTransitGatewayConnectResult> getTransitGatewayConnect(GetTransitGatewayConnectArgs args, InvokeOptions options)
public static Output<GetTransitGatewayConnectResult> getTransitGatewayConnect(GetTransitGatewayConnectArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:ec2:getTransitGatewayConnect
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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

getTransitGatewayConnect Result

The following output properties are available:

CreationTime string
The creation time.
State string
The state of the attachment.
Tags List<Pulumi.AwsNative.Outputs.Tag>
The tags for the attachment.
TransitGatewayAttachmentId string
The ID of the Connect attachment.
TransitGatewayId string
The ID of the transit gateway.
CreationTime string
The creation time.
State string
The state of the attachment.
Tags Tag
The tags for the attachment.
TransitGatewayAttachmentId string
The ID of the Connect attachment.
TransitGatewayId string
The ID of the transit gateway.
creationTime String
The creation time.
state String
The state of the attachment.
tags List<Tag>
The tags for the attachment.
transitGatewayAttachmentId String
The ID of the Connect attachment.
transitGatewayId String
The ID of the transit gateway.
creationTime string
The creation time.
state string
The state of the attachment.
tags Tag[]
The tags for the attachment.
transitGatewayAttachmentId string
The ID of the Connect attachment.
transitGatewayId string
The ID of the transit gateway.
creation_time str
The creation time.
state str
The state of the attachment.
tags Sequence[root_Tag]
The tags for the attachment.
transit_gateway_attachment_id str
The ID of the Connect attachment.
transit_gateway_id str
The ID of the transit gateway.
creationTime String
The creation time.
state String
The state of the attachment.
tags List<Property Map>
The tags for the attachment.
transitGatewayAttachmentId String
The ID of the Connect attachment.
transitGatewayId String
The ID of the transit gateway.

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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi