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

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.getTransitGatewayPeeringAttachment

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::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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ec2:getTransitGatewayPeeringAttachment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TransitGatewayAttachmentId string
    The ID of the transit gateway peering attachment.
    TransitGatewayAttachmentId string
    The ID of the transit gateway peering attachment.
    transitGatewayAttachmentId String
    The ID of the transit gateway peering attachment.
    transitGatewayAttachmentId string
    The ID of the transit gateway peering attachment.
    transit_gateway_attachment_id str
    The ID of the transit gateway peering attachment.
    transitGatewayAttachmentId String
    The ID of the transit gateway peering attachment.

    getTransitGatewayPeeringAttachment Result

    The following output properties are available:

    CreationTime 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.AwsNative.Ec2.Outputs.TransitGatewayPeeringAttachmentPeeringAttachmentStatus
    The status of the transit gateway peering attachment.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the transit gateway peering attachment.
    TransitGatewayAttachmentId string
    The ID of the transit gateway peering attachment.
    CreationTime 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 TransitGatewayPeeringAttachmentPeeringAttachmentStatus
    The status of the transit gateway peering attachment.
    Tags Tag
    The tags for the transit gateway peering attachment.
    TransitGatewayAttachmentId string
    The ID of the transit gateway peering attachment.
    creationTime 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 TransitGatewayPeeringAttachmentPeeringAttachmentStatus
    The status of the transit gateway peering attachment.
    tags List<Tag>
    The tags for the transit gateway peering attachment.
    transitGatewayAttachmentId String
    The ID of the transit gateway peering attachment.
    creationTime 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 TransitGatewayPeeringAttachmentPeeringAttachmentStatus
    The status of the transit gateway peering attachment.
    tags Tag[]
    The tags for the transit gateway peering attachment.
    transitGatewayAttachmentId string
    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 TransitGatewayPeeringAttachmentPeeringAttachmentStatus
    The status of the transit gateway peering attachment.
    tags Sequence[root_Tag]
    The tags for the transit gateway peering attachment.
    transit_gateway_attachment_id str
    The ID of the transit gateway peering attachment.
    creationTime 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.
    tags List<Property Map>
    The tags for the transit gateway peering attachment.
    transitGatewayAttachmentId String
    The ID of the transit gateway peering attachment.

    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

    TransitGatewayPeeringAttachmentPeeringAttachmentStatus

    Code string
    The status code.
    Message string
    The status message, if applicable.
    Code string
    The status code.
    Message string
    The status message, if applicable.
    code String
    The status code.
    message String
    The status message, if applicable.
    code string
    The status code.
    message string
    The status message, if applicable.
    code str
    The status code.
    message str
    The status message, if applicable.
    code String
    The status code.
    message String
    The status message, if applicable.

    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