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
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:
- Transit
Gateway stringConnect Peer Id - The ID of the Connect peer.
- Transit
Gateway stringConnect Peer Id - The ID of the Connect peer.
- transit
Gateway StringConnect Peer Id - The ID of the Connect peer.
- transit
Gateway stringConnect Peer Id - The ID of the Connect peer.
- transit_
gateway_ strconnect_ peer_ id - The ID of the Connect peer.
- transit
Gateway StringConnect Peer Id - The ID of the Connect peer.
getTransitGatewayConnectPeer Result
The following output properties are available:
- Creation
Time string - The creation time.
- State string
- The state of the Connect peer.
- List<Pulumi.
Aws Native. Outputs. Tag> - The tags for the Connect Peer.
- Transit
Gateway stringConnect Peer Id - The ID of the Connect peer.
- Creation
Time string - The creation time.
- State string
- The state of the Connect peer.
- Tag
- The tags for the Connect Peer.
- Transit
Gateway stringConnect Peer Id - The ID of the Connect peer.
- creation
Time String - The creation time.
- state String
- The state of the Connect peer.
- List<Tag>
- The tags for the Connect Peer.
- transit
Gateway StringConnect Peer Id - The ID of the Connect peer.
- creation
Time string - The creation time.
- state string
- The state of the Connect peer.
- Tag[]
- The tags for the Connect Peer.
- transit
Gateway stringConnect Peer Id - The ID of the Connect peer.
- creation_
time str - The creation time.
- state str
- The state of the Connect peer.
- Sequence[root_Tag]
- The tags for the Connect Peer.
- transit_
gateway_ strconnect_ peer_ id - The ID of the Connect peer.
- creation
Time String - The creation time.
- state String
- The state of the Connect peer.
- List<Property Map>
- The tags for the Connect Peer.
- transit
Gateway StringConnect Peer Id - The ID of the Connect peer.
Supporting Types
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.34.0 published on Friday, Sep 12, 2025 by Pulumi