1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. ec2
  6. getTransitGatewayNetworkFunctionAttachment

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    The AWS::EC2::TransitGatewayNetworkFunctionAttachment type

    Using getTransitGatewayNetworkFunctionAttachment

    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 getTransitGatewayNetworkFunctionAttachment(args: GetTransitGatewayNetworkFunctionAttachmentArgs, opts?: InvokeOptions): Promise<GetTransitGatewayNetworkFunctionAttachmentResult>
    function getTransitGatewayNetworkFunctionAttachmentOutput(args: GetTransitGatewayNetworkFunctionAttachmentOutputArgs, opts?: InvokeOutputOptions): Output<GetTransitGatewayNetworkFunctionAttachmentResult>
    def get_transit_gateway_network_function_attachment(transit_gateway_attachment_id: Optional[str] = None,
                                                        opts: Optional[InvokeOptions] = None) -> GetTransitGatewayNetworkFunctionAttachmentResult
    def get_transit_gateway_network_function_attachment_output(transit_gateway_attachment_id: pulumi.Input[Optional[str]] = None,
                                                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetTransitGatewayNetworkFunctionAttachmentResult]
    func LookupTransitGatewayNetworkFunctionAttachment(ctx *Context, args *LookupTransitGatewayNetworkFunctionAttachmentArgs, opts ...InvokeOption) (*LookupTransitGatewayNetworkFunctionAttachmentResult, error)
    func LookupTransitGatewayNetworkFunctionAttachmentOutput(ctx *Context, args *LookupTransitGatewayNetworkFunctionAttachmentOutputArgs, opts ...InvokeOption) LookupTransitGatewayNetworkFunctionAttachmentResultOutput

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

    public static class GetTransitGatewayNetworkFunctionAttachment 
    {
        public static Task<GetTransitGatewayNetworkFunctionAttachmentResult> InvokeAsync(GetTransitGatewayNetworkFunctionAttachmentArgs args, InvokeOptions? opts = null)
        public static Output<GetTransitGatewayNetworkFunctionAttachmentResult> Invoke(GetTransitGatewayNetworkFunctionAttachmentInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetTransitGatewayNetworkFunctionAttachmentResult> Invoke(GetTransitGatewayNetworkFunctionAttachmentInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetTransitGatewayNetworkFunctionAttachmentResult> getTransitGatewayNetworkFunctionAttachment(GetTransitGatewayNetworkFunctionAttachmentArgs args, InvokeOptions options)
    public static Output<GetTransitGatewayNetworkFunctionAttachmentResult> getTransitGatewayNetworkFunctionAttachment(GetTransitGatewayNetworkFunctionAttachmentArgs args, InvokeOptions options)
    public static Output<GetTransitGatewayNetworkFunctionAttachmentResult> getTransitGatewayNetworkFunctionAttachment(GetTransitGatewayNetworkFunctionAttachmentArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:ec2:getTransitGatewayNetworkFunctionAttachment
      arguments:
        # arguments dictionary
    data "aws-native_ec2_get_transit_gateway_network_function_attachment" "name" {
        # arguments
    }

    The following arguments are supported:

    TransitGatewayAttachmentId string
    The ID of the network function attachment.
    TransitGatewayAttachmentId string
    The ID of the network function attachment.
    transit_gateway_attachment_id string
    The ID of the network function attachment.
    transitGatewayAttachmentId String
    The ID of the network function attachment.
    transitGatewayAttachmentId string
    The ID of the network function attachment.
    transit_gateway_attachment_id str
    The ID of the network function attachment.
    transitGatewayAttachmentId String
    The ID of the network function attachment.

    getTransitGatewayNetworkFunctionAttachment Result

    The following output properties are available:

    AvailabilityZoneIds List<string>
    The Availability Zone IDs for the attachment.
    AvailabilityZones List<string>
    The Availability Zones for the attachment.
    CreationTime string
    The creation time of the attachment.
    ResourceId string
    The resource ID of the network function.
    State string
    The state of the attachment.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the attachment.
    TransitGatewayAttachmentId string
    The ID of the network function attachment.
    AvailabilityZoneIds []string
    The Availability Zone IDs for the attachment.
    AvailabilityZones []string
    The Availability Zones for the attachment.
    CreationTime string
    The creation time of the attachment.
    ResourceId string
    The resource ID of the network function.
    State string
    The state of the attachment.
    Tags Tag
    The tags for the attachment.
    TransitGatewayAttachmentId string
    The ID of the network function attachment.
    availability_zone_ids list(string)
    The Availability Zone IDs for the attachment.
    availability_zones list(string)
    The Availability Zones for the attachment.
    creation_time string
    The creation time of the attachment.
    resource_id string
    The resource ID of the network function.
    state string
    The state of the attachment.
    tags list(object)
    The tags for the attachment.
    transit_gateway_attachment_id string
    The ID of the network function attachment.
    availabilityZoneIds List<String>
    The Availability Zone IDs for the attachment.
    availabilityZones List<String>
    The Availability Zones for the attachment.
    creationTime String
    The creation time of the attachment.
    resourceId String
    The resource ID of the network function.
    state String
    The state of the attachment.
    tags List<Tag>
    The tags for the attachment.
    transitGatewayAttachmentId String
    The ID of the network function attachment.
    availabilityZoneIds string[]
    The Availability Zone IDs for the attachment.
    availabilityZones string[]
    The Availability Zones for the attachment.
    creationTime string
    The creation time of the attachment.
    resourceId string
    The resource ID of the network function.
    state string
    The state of the attachment.
    tags Tag[]
    The tags for the attachment.
    transitGatewayAttachmentId string
    The ID of the network function attachment.
    availability_zone_ids Sequence[str]
    The Availability Zone IDs for the attachment.
    availability_zones Sequence[str]
    The Availability Zones for the attachment.
    creation_time str
    The creation time of the attachment.
    resource_id str
    The resource ID of the network function.
    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 network function attachment.
    availabilityZoneIds List<String>
    The Availability Zone IDs for the attachment.
    availabilityZones List<String>
    The Availability Zones for the attachment.
    creationTime String
    The creation time of the attachment.
    resourceId String
    The resource ID of the network function.
    state String
    The state of the attachment.
    tags List<Property Map>
    The tags for the attachment.
    transitGatewayAttachmentId String
    The ID of the network function 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 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 aws-native logo AWS Cloud Control

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial