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

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

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

aws-native.ec2.getTransitGatewayConnectPeer

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

    Resource Type definition for AWS::EC2::TransitGatewayConnectPeer

    Using getTransitGatewayConnectPeer

    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 getTransitGatewayConnectPeer(args: GetTransitGatewayConnectPeerArgs, opts?: InvokeOptions): Promise<GetTransitGatewayConnectPeerResult>
    function getTransitGatewayConnectPeerOutput(args: GetTransitGatewayConnectPeerOutputArgs, opts?: InvokeOptions): Output<GetTransitGatewayConnectPeerResult>
    def get_transit_gateway_connect_peer(transit_gateway_connect_peer_id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetTransitGatewayConnectPeerResult
    def get_transit_gateway_connect_peer_output(transit_gateway_connect_peer_id: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetTransitGatewayConnectPeerResult]
    func LookupTransitGatewayConnectPeer(ctx *Context, args *LookupTransitGatewayConnectPeerArgs, opts ...InvokeOption) (*LookupTransitGatewayConnectPeerResult, error)
    func LookupTransitGatewayConnectPeerOutput(ctx *Context, args *LookupTransitGatewayConnectPeerOutputArgs, opts ...InvokeOption) LookupTransitGatewayConnectPeerResultOutput

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

    public static class GetTransitGatewayConnectPeer 
    {
        public static Task<GetTransitGatewayConnectPeerResult> InvokeAsync(GetTransitGatewayConnectPeerArgs args, InvokeOptions? opts = null)
        public static Output<GetTransitGatewayConnectPeerResult> Invoke(GetTransitGatewayConnectPeerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTransitGatewayConnectPeerResult> getTransitGatewayConnectPeer(GetTransitGatewayConnectPeerArgs args, InvokeOptions options)
    public static Output<GetTransitGatewayConnectPeerResult> getTransitGatewayConnectPeer(GetTransitGatewayConnectPeerArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:ec2:getTransitGatewayConnectPeer
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TransitGatewayConnectPeerId string
    The ID of the Connect peer.
    TransitGatewayConnectPeerId string
    The ID of the Connect peer.
    transitGatewayConnectPeerId String
    The ID of the Connect peer.
    transitGatewayConnectPeerId string
    The ID of the Connect peer.
    transit_gateway_connect_peer_id str
    The ID of the Connect peer.
    transitGatewayConnectPeerId String
    The ID of the Connect peer.

    getTransitGatewayConnectPeer Result

    The following output properties are available:

    CreationTime string
    The creation time.
    State string
    The state of the Connect peer.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the Connect Peer.
    TransitGatewayConnectPeerId string
    The ID of the Connect peer.
    CreationTime string
    The creation time.
    State string
    The state of the Connect peer.
    Tags Tag
    The tags for the Connect Peer.
    TransitGatewayConnectPeerId string
    The ID of the Connect peer.
    creationTime String
    The creation time.
    state String
    The state of the Connect peer.
    tags List<Tag>
    The tags for the Connect Peer.
    transitGatewayConnectPeerId String
    The ID of the Connect peer.
    creationTime string
    The creation time.
    state string
    The state of the Connect peer.
    tags Tag[]
    The tags for the Connect Peer.
    transitGatewayConnectPeerId string
    The ID of the Connect peer.
    creation_time str
    The creation time.
    state str
    The state of the Connect peer.
    tags Sequence[root_Tag]
    The tags for the Connect Peer.
    transit_gateway_connect_peer_id str
    The ID of the Connect peer.
    creationTime String
    The creation time.
    state String
    The state of the Connect peer.
    tags List<Property Map>
    The tags for the Connect Peer.
    transitGatewayConnectPeerId String
    The ID of the Connect peer.

    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.34.0 published on Friday, Sep 12, 2025 by Pulumi