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.0.1 published on Tuesday, Oct 1, 2024 by Pulumi

aws-native.ec2.getTransitGatewayConnect

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 2024 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>
    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]
    func LookupTransitGatewayConnect(ctx *Context, args *LookupTransitGatewayConnectArgs, opts ...InvokeOption) (*LookupTransitGatewayConnectResult, error)
    func LookupTransitGatewayConnectOutput(ctx *Context, args *LookupTransitGatewayConnectOutputArgs, opts ...InvokeOption) LookupTransitGatewayConnectResultOutput

    > 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)
    }
    public static CompletableFuture<GetTransitGatewayConnectResult> getTransitGatewayConnect(GetTransitGatewayConnectArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ec2:getTransitGatewayConnect
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TransitGatewayAttachmentId string
    The ID of the Connect attachment.
    TransitGatewayAttachmentId string
    The ID of the Connect attachment.
    transitGatewayAttachmentId String
    The ID of the Connect attachment.
    transitGatewayAttachmentId string
    The ID of the Connect attachment.
    transit_gateway_attachment_id str
    The ID of the Connect attachment.
    transitGatewayAttachmentId 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 string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

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

    AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 2024 by Pulumi