We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 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>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]func LookupTransitGatewayPeeringAttachment(ctx *Context, args *LookupTransitGatewayPeeringAttachmentArgs, opts ...InvokeOption) (*LookupTransitGatewayPeeringAttachmentResult, error)
func LookupTransitGatewayPeeringAttachmentOutput(ctx *Context, args *LookupTransitGatewayPeeringAttachmentOutputArgs, opts ...InvokeOption) LookupTransitGatewayPeeringAttachmentResultOutput> 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)
}public static CompletableFuture<GetTransitGatewayPeeringAttachmentResult> getTransitGatewayPeeringAttachment(GetTransitGatewayPeeringAttachmentArgs args, InvokeOptions options)
public static Output<GetTransitGatewayPeeringAttachmentResult> getTransitGatewayPeeringAttachment(GetTransitGatewayPeeringAttachmentArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:ec2:getTransitGatewayPeeringAttachment
arguments:
# arguments dictionaryThe following arguments are supported:
- Transit
Gateway stringAttachment Id - The ID of the transit gateway peering attachment.
- Transit
Gateway stringAttachment Id - The ID of the transit gateway peering attachment.
- transit
Gateway StringAttachment Id - The ID of the transit gateway peering attachment.
- transit
Gateway stringAttachment Id - The ID of the transit gateway peering attachment.
- transit_
gateway_ strattachment_ id - The ID of the transit gateway peering attachment.
- transit
Gateway StringAttachment Id - The ID of the transit gateway peering attachment.
getTransitGatewayPeeringAttachment Result
The following output properties are available:
- Creation
Time 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.
Aws Native. Ec2. Outputs. Transit Gateway Peering Attachment Peering Attachment Status - The status of the transit gateway peering attachment.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags for the transit gateway peering attachment.
- Transit
Gateway stringAttachment Id - The ID of the transit gateway peering attachment.
- Creation
Time 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
Transit
Gateway Peering Attachment Peering Attachment Status - The status of the transit gateway peering attachment.
- Tag
- The tags for the transit gateway peering attachment.
- Transit
Gateway stringAttachment Id - The ID of the transit gateway peering attachment.
- creation
Time 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
Transit
Gateway Peering Attachment Peering Attachment Status - The status of the transit gateway peering attachment.
- List<Tag>
- The tags for the transit gateway peering attachment.
- transit
Gateway StringAttachment Id - The ID of the transit gateway peering attachment.
- creation
Time 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
Transit
Gateway Peering Attachment Peering Attachment Status - The status of the transit gateway peering attachment.
- Tag[]
- The tags for the transit gateway peering attachment.
- transit
Gateway stringAttachment Id - 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
Transit
Gateway Peering Attachment Peering Attachment Status - The status of the transit gateway peering attachment.
- Sequence[root_Tag]
- The tags for the transit gateway peering attachment.
- transit_
gateway_ strattachment_ id - The ID of the transit gateway peering attachment.
- creation
Time 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.
- List<Property Map>
- The tags for the transit gateway peering attachment.
- transit
Gateway StringAttachment Id - The ID of the transit gateway peering attachment.
Supporting Types
Tag
TransitGatewayPeeringAttachmentPeeringAttachmentStatus
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.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
