1. Packages
  2. AWS
  3. API Docs
  4. ec2
  5. getNatGateway
AWS v7.14.0 published on Thursday, Dec 11, 2025 by Pulumi
aws logo
AWS v7.14.0 published on Thursday, Dec 11, 2025 by Pulumi

    Provides details about a specific VPC NAT Gateway.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const _default = aws.ec2.getNatGateway({
        subnetId: _public.id,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    default = aws.ec2.get_nat_gateway(subnet_id=public["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ec2.LookupNatGateway(ctx, &ec2.LookupNatGatewayArgs{
    			SubnetId: pulumi.StringRef(public.Id),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Aws.Ec2.GetNatGateway.Invoke(new()
        {
            SubnetId = @public.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ec2.Ec2Functions;
    import com.pulumi.aws.ec2.inputs.GetNatGatewayArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var default = Ec2Functions.getNatGateway(GetNatGatewayArgs.builder()
                .subnetId(public_.id())
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          function: aws:ec2:getNatGateway
          arguments:
            subnetId: ${public.id}
    

    With tags

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const _default = aws.ec2.getNatGateway({
        subnetId: _public.id,
        tags: {
            Name: "gw NAT",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    default = aws.ec2.get_nat_gateway(subnet_id=public["id"],
        tags={
            "Name": "gw NAT",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ec2.LookupNatGateway(ctx, &ec2.LookupNatGatewayArgs{
    			SubnetId: pulumi.StringRef(public.Id),
    			Tags: map[string]interface{}{
    				"Name": "gw NAT",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Aws.Ec2.GetNatGateway.Invoke(new()
        {
            SubnetId = @public.Id,
            Tags = 
            {
                { "Name", "gw NAT" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ec2.Ec2Functions;
    import com.pulumi.aws.ec2.inputs.GetNatGatewayArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var default = Ec2Functions.getNatGateway(GetNatGatewayArgs.builder()
                .subnetId(public_.id())
                .tags(Map.of("Name", "gw NAT"))
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          function: aws:ec2:getNatGateway
          arguments:
            subnetId: ${public.id}
            tags:
              Name: gw NAT
    

    Using getNatGateway

    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 getNatGateway(args: GetNatGatewayArgs, opts?: InvokeOptions): Promise<GetNatGatewayResult>
    function getNatGatewayOutput(args: GetNatGatewayOutputArgs, opts?: InvokeOptions): Output<GetNatGatewayResult>
    def get_nat_gateway(filters: Optional[Sequence[GetNatGatewayFilter]] = None,
                        id: Optional[str] = None,
                        region: Optional[str] = None,
                        state: Optional[str] = None,
                        subnet_id: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        vpc_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetNatGatewayResult
    def get_nat_gateway_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetNatGatewayFilterArgs]]]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        region: Optional[pulumi.Input[str]] = None,
                        state: Optional[pulumi.Input[str]] = None,
                        subnet_id: Optional[pulumi.Input[str]] = None,
                        tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                        vpc_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetNatGatewayResult]
    func LookupNatGateway(ctx *Context, args *LookupNatGatewayArgs, opts ...InvokeOption) (*LookupNatGatewayResult, error)
    func LookupNatGatewayOutput(ctx *Context, args *LookupNatGatewayOutputArgs, opts ...InvokeOption) LookupNatGatewayResultOutput

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

    public static class GetNatGateway 
    {
        public static Task<GetNatGatewayResult> InvokeAsync(GetNatGatewayArgs args, InvokeOptions? opts = null)
        public static Output<GetNatGatewayResult> Invoke(GetNatGatewayInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNatGatewayResult> getNatGateway(GetNatGatewayArgs args, InvokeOptions options)
    public static Output<GetNatGatewayResult> getNatGateway(GetNatGatewayArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:ec2/getNatGateway:getNatGateway
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<GetNatGatewayFilter>

    Custom filter block as described below.

    The arguments of this data source act as filters for querying the available NAT Gateways in the current Region. The given filters must match exactly one NAT Gateway whose data will be exported as attributes.

    Id string
    ID of the specific NAT Gateway to retrieve.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    State string
    State of the NAT Gateway (pending | failed | available | deleting | deleted ).
    SubnetId string
    ID of subnet that the NAT Gateway resides in.
    Tags Dictionary<string, string>
    Map of tags, each pair of which must exactly match a pair on the desired NAT Gateway.
    VpcId string
    ID of the VPC that the NAT Gateway resides in.
    Filters []GetNatGatewayFilter

    Custom filter block as described below.

    The arguments of this data source act as filters for querying the available NAT Gateways in the current Region. The given filters must match exactly one NAT Gateway whose data will be exported as attributes.

    Id string
    ID of the specific NAT Gateway to retrieve.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    State string
    State of the NAT Gateway (pending | failed | available | deleting | deleted ).
    SubnetId string
    ID of subnet that the NAT Gateway resides in.
    Tags map[string]string
    Map of tags, each pair of which must exactly match a pair on the desired NAT Gateway.
    VpcId string
    ID of the VPC that the NAT Gateway resides in.
    filters List<GetNatGatewayFilter>

    Custom filter block as described below.

    The arguments of this data source act as filters for querying the available NAT Gateways in the current Region. The given filters must match exactly one NAT Gateway whose data will be exported as attributes.

    id String
    ID of the specific NAT Gateway to retrieve.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    state String
    State of the NAT Gateway (pending | failed | available | deleting | deleted ).
    subnetId String
    ID of subnet that the NAT Gateway resides in.
    tags Map<String,String>
    Map of tags, each pair of which must exactly match a pair on the desired NAT Gateway.
    vpcId String
    ID of the VPC that the NAT Gateway resides in.
    filters GetNatGatewayFilter[]

    Custom filter block as described below.

    The arguments of this data source act as filters for querying the available NAT Gateways in the current Region. The given filters must match exactly one NAT Gateway whose data will be exported as attributes.

    id string
    ID of the specific NAT Gateway to retrieve.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    state string
    State of the NAT Gateway (pending | failed | available | deleting | deleted ).
    subnetId string
    ID of subnet that the NAT Gateway resides in.
    tags {[key: string]: string}
    Map of tags, each pair of which must exactly match a pair on the desired NAT Gateway.
    vpcId string
    ID of the VPC that the NAT Gateway resides in.
    filters Sequence[GetNatGatewayFilter]

    Custom filter block as described below.

    The arguments of this data source act as filters for querying the available NAT Gateways in the current Region. The given filters must match exactly one NAT Gateway whose data will be exported as attributes.

    id str
    ID of the specific NAT Gateway to retrieve.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    state str
    State of the NAT Gateway (pending | failed | available | deleting | deleted ).
    subnet_id str
    ID of subnet that the NAT Gateway resides in.
    tags Mapping[str, str]
    Map of tags, each pair of which must exactly match a pair on the desired NAT Gateway.
    vpc_id str
    ID of the VPC that the NAT Gateway resides in.
    filters List<Property Map>

    Custom filter block as described below.

    The arguments of this data source act as filters for querying the available NAT Gateways in the current Region. The given filters must match exactly one NAT Gateway whose data will be exported as attributes.

    id String
    ID of the specific NAT Gateway to retrieve.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    state String
    State of the NAT Gateway (pending | failed | available | deleting | deleted ).
    subnetId String
    ID of subnet that the NAT Gateway resides in.
    tags Map<String>
    Map of tags, each pair of which must exactly match a pair on the desired NAT Gateway.
    vpcId String
    ID of the VPC that the NAT Gateway resides in.

    getNatGateway Result

    The following output properties are available:

    AllocationId string
    Allocation ID of the Elastic IP address.
    AssociationId string
    Association ID of the Elastic IP address.
    AutoProvisionZones string
    (regional NAT gateways only) Indicates whether AWS automatically manages AZ coverage.
    AutoScalingIps string
    (regional NAT gateways only) Indicates whether AWS automatically allocates additional Elastic IP addresses (EIPs) in an AZ when the NAT gateway needs more ports due to increased concurrent connections to a single destination from that AZ.
    AvailabilityMode string
    Specifies whether to create a zonal (single-AZ) or regional (multi-AZ) NAT gateway.
    AvailabilityZoneAddresses List<GetNatGatewayAvailabilityZoneAddress>
    (regional NAT gateways only) Repeatable configuration block for the Elastic IP addresses (EIPs) and availability zones for the regional NAT gateway.
    ConnectivityType string
    Connectivity type of the NAT Gateway.
    Id string
    NetworkInterfaceId string
    ID of the network interface.
    PrivateIp string
    (zonal NAT gateways only) Private IP address of the selected NAT Gateway.
    PublicIp string
    Public IP address.
    Region string
    RegionalNatGatewayAddresses List<GetNatGatewayRegionalNatGatewayAddress>
    (regional NAT gateways only) Repeatable blocks for information about the IP addresses and network interface associated with the regional NAT gateway.
    RouteTableId string
    (regional NAT gateways only) ID of the automatically created route table.
    SecondaryAllocationIds List<string>
    (zonal NAT gateways only) Secondary allocation EIP IDs for the selected NAT Gateway.
    SecondaryPrivateIpAddressCount int
    (zonal NAT gateways only) The number of secondary private IPv4 addresses assigned to the selected NAT Gateway.
    SecondaryPrivateIpAddresses List<string>
    (zonal NAT gateways only) Secondary private IPv4 addresses assigned to the selected NAT Gateway.
    State string
    SubnetId string
    Tags Dictionary<string, string>
    VpcId string
    Filters List<GetNatGatewayFilter>
    AllocationId string
    Allocation ID of the Elastic IP address.
    AssociationId string
    Association ID of the Elastic IP address.
    AutoProvisionZones string
    (regional NAT gateways only) Indicates whether AWS automatically manages AZ coverage.
    AutoScalingIps string
    (regional NAT gateways only) Indicates whether AWS automatically allocates additional Elastic IP addresses (EIPs) in an AZ when the NAT gateway needs more ports due to increased concurrent connections to a single destination from that AZ.
    AvailabilityMode string
    Specifies whether to create a zonal (single-AZ) or regional (multi-AZ) NAT gateway.
    AvailabilityZoneAddresses []GetNatGatewayAvailabilityZoneAddress
    (regional NAT gateways only) Repeatable configuration block for the Elastic IP addresses (EIPs) and availability zones for the regional NAT gateway.
    ConnectivityType string
    Connectivity type of the NAT Gateway.
    Id string
    NetworkInterfaceId string
    ID of the network interface.
    PrivateIp string
    (zonal NAT gateways only) Private IP address of the selected NAT Gateway.
    PublicIp string
    Public IP address.
    Region string
    RegionalNatGatewayAddresses []GetNatGatewayRegionalNatGatewayAddress
    (regional NAT gateways only) Repeatable blocks for information about the IP addresses and network interface associated with the regional NAT gateway.
    RouteTableId string
    (regional NAT gateways only) ID of the automatically created route table.
    SecondaryAllocationIds []string
    (zonal NAT gateways only) Secondary allocation EIP IDs for the selected NAT Gateway.
    SecondaryPrivateIpAddressCount int
    (zonal NAT gateways only) The number of secondary private IPv4 addresses assigned to the selected NAT Gateway.
    SecondaryPrivateIpAddresses []string
    (zonal NAT gateways only) Secondary private IPv4 addresses assigned to the selected NAT Gateway.
    State string
    SubnetId string
    Tags map[string]string
    VpcId string
    Filters []GetNatGatewayFilter
    allocationId String
    Allocation ID of the Elastic IP address.
    associationId String
    Association ID of the Elastic IP address.
    autoProvisionZones String
    (regional NAT gateways only) Indicates whether AWS automatically manages AZ coverage.
    autoScalingIps String
    (regional NAT gateways only) Indicates whether AWS automatically allocates additional Elastic IP addresses (EIPs) in an AZ when the NAT gateway needs more ports due to increased concurrent connections to a single destination from that AZ.
    availabilityMode String
    Specifies whether to create a zonal (single-AZ) or regional (multi-AZ) NAT gateway.
    availabilityZoneAddresses List<GetNatGatewayAvailabilityZoneAddress>
    (regional NAT gateways only) Repeatable configuration block for the Elastic IP addresses (EIPs) and availability zones for the regional NAT gateway.
    connectivityType String
    Connectivity type of the NAT Gateway.
    id String
    networkInterfaceId String
    ID of the network interface.
    privateIp String
    (zonal NAT gateways only) Private IP address of the selected NAT Gateway.
    publicIp String
    Public IP address.
    region String
    regionalNatGatewayAddresses List<GetNatGatewayRegionalNatGatewayAddress>
    (regional NAT gateways only) Repeatable blocks for information about the IP addresses and network interface associated with the regional NAT gateway.
    routeTableId String
    (regional NAT gateways only) ID of the automatically created route table.
    secondaryAllocationIds List<String>
    (zonal NAT gateways only) Secondary allocation EIP IDs for the selected NAT Gateway.
    secondaryPrivateIpAddressCount Integer
    (zonal NAT gateways only) The number of secondary private IPv4 addresses assigned to the selected NAT Gateway.
    secondaryPrivateIpAddresses List<String>
    (zonal NAT gateways only) Secondary private IPv4 addresses assigned to the selected NAT Gateway.
    state String
    subnetId String
    tags Map<String,String>
    vpcId String
    filters List<GetNatGatewayFilter>
    allocationId string
    Allocation ID of the Elastic IP address.
    associationId string
    Association ID of the Elastic IP address.
    autoProvisionZones string
    (regional NAT gateways only) Indicates whether AWS automatically manages AZ coverage.
    autoScalingIps string
    (regional NAT gateways only) Indicates whether AWS automatically allocates additional Elastic IP addresses (EIPs) in an AZ when the NAT gateway needs more ports due to increased concurrent connections to a single destination from that AZ.
    availabilityMode string
    Specifies whether to create a zonal (single-AZ) or regional (multi-AZ) NAT gateway.
    availabilityZoneAddresses GetNatGatewayAvailabilityZoneAddress[]
    (regional NAT gateways only) Repeatable configuration block for the Elastic IP addresses (EIPs) and availability zones for the regional NAT gateway.
    connectivityType string
    Connectivity type of the NAT Gateway.
    id string
    networkInterfaceId string
    ID of the network interface.
    privateIp string
    (zonal NAT gateways only) Private IP address of the selected NAT Gateway.
    publicIp string
    Public IP address.
    region string
    regionalNatGatewayAddresses GetNatGatewayRegionalNatGatewayAddress[]
    (regional NAT gateways only) Repeatable blocks for information about the IP addresses and network interface associated with the regional NAT gateway.
    routeTableId string
    (regional NAT gateways only) ID of the automatically created route table.
    secondaryAllocationIds string[]
    (zonal NAT gateways only) Secondary allocation EIP IDs for the selected NAT Gateway.
    secondaryPrivateIpAddressCount number
    (zonal NAT gateways only) The number of secondary private IPv4 addresses assigned to the selected NAT Gateway.
    secondaryPrivateIpAddresses string[]
    (zonal NAT gateways only) Secondary private IPv4 addresses assigned to the selected NAT Gateway.
    state string
    subnetId string
    tags {[key: string]: string}
    vpcId string
    filters GetNatGatewayFilter[]
    allocation_id str
    Allocation ID of the Elastic IP address.
    association_id str
    Association ID of the Elastic IP address.
    auto_provision_zones str
    (regional NAT gateways only) Indicates whether AWS automatically manages AZ coverage.
    auto_scaling_ips str
    (regional NAT gateways only) Indicates whether AWS automatically allocates additional Elastic IP addresses (EIPs) in an AZ when the NAT gateway needs more ports due to increased concurrent connections to a single destination from that AZ.
    availability_mode str
    Specifies whether to create a zonal (single-AZ) or regional (multi-AZ) NAT gateway.
    availability_zone_addresses Sequence[GetNatGatewayAvailabilityZoneAddress]
    (regional NAT gateways only) Repeatable configuration block for the Elastic IP addresses (EIPs) and availability zones for the regional NAT gateway.
    connectivity_type str
    Connectivity type of the NAT Gateway.
    id str
    network_interface_id str
    ID of the network interface.
    private_ip str
    (zonal NAT gateways only) Private IP address of the selected NAT Gateway.
    public_ip str
    Public IP address.
    region str
    regional_nat_gateway_addresses Sequence[GetNatGatewayRegionalNatGatewayAddress]
    (regional NAT gateways only) Repeatable blocks for information about the IP addresses and network interface associated with the regional NAT gateway.
    route_table_id str
    (regional NAT gateways only) ID of the automatically created route table.
    secondary_allocation_ids Sequence[str]
    (zonal NAT gateways only) Secondary allocation EIP IDs for the selected NAT Gateway.
    secondary_private_ip_address_count int
    (zonal NAT gateways only) The number of secondary private IPv4 addresses assigned to the selected NAT Gateway.
    secondary_private_ip_addresses Sequence[str]
    (zonal NAT gateways only) Secondary private IPv4 addresses assigned to the selected NAT Gateway.
    state str
    subnet_id str
    tags Mapping[str, str]
    vpc_id str
    filters Sequence[GetNatGatewayFilter]
    allocationId String
    Allocation ID of the Elastic IP address.
    associationId String
    Association ID of the Elastic IP address.
    autoProvisionZones String
    (regional NAT gateways only) Indicates whether AWS automatically manages AZ coverage.
    autoScalingIps String
    (regional NAT gateways only) Indicates whether AWS automatically allocates additional Elastic IP addresses (EIPs) in an AZ when the NAT gateway needs more ports due to increased concurrent connections to a single destination from that AZ.
    availabilityMode String
    Specifies whether to create a zonal (single-AZ) or regional (multi-AZ) NAT gateway.
    availabilityZoneAddresses List<Property Map>
    (regional NAT gateways only) Repeatable configuration block for the Elastic IP addresses (EIPs) and availability zones for the regional NAT gateway.
    connectivityType String
    Connectivity type of the NAT Gateway.
    id String
    networkInterfaceId String
    ID of the network interface.
    privateIp String
    (zonal NAT gateways only) Private IP address of the selected NAT Gateway.
    publicIp String
    Public IP address.
    region String
    regionalNatGatewayAddresses List<Property Map>
    (regional NAT gateways only) Repeatable blocks for information about the IP addresses and network interface associated with the regional NAT gateway.
    routeTableId String
    (regional NAT gateways only) ID of the automatically created route table.
    secondaryAllocationIds List<String>
    (zonal NAT gateways only) Secondary allocation EIP IDs for the selected NAT Gateway.
    secondaryPrivateIpAddressCount Number
    (zonal NAT gateways only) The number of secondary private IPv4 addresses assigned to the selected NAT Gateway.
    secondaryPrivateIpAddresses List<String>
    (zonal NAT gateways only) Secondary private IPv4 addresses assigned to the selected NAT Gateway.
    state String
    subnetId String
    tags Map<String>
    vpcId String
    filters List<Property Map>

    Supporting Types

    GetNatGatewayAvailabilityZoneAddress

    AllocationIds List<string>
    List of allocation IDs of the Elastic IP addresses (EIPs) to be used for handling outbound NAT traffic in this specific Availability Zone.
    AvailabilityZone string
    Availability Zone where this specific NAT gateway configuration is active.
    AvailabilityZoneId string
    Availability Zone ID where this specific NAT gateway configuration is active
    AllocationIds []string
    List of allocation IDs of the Elastic IP addresses (EIPs) to be used for handling outbound NAT traffic in this specific Availability Zone.
    AvailabilityZone string
    Availability Zone where this specific NAT gateway configuration is active.
    AvailabilityZoneId string
    Availability Zone ID where this specific NAT gateway configuration is active
    allocationIds List<String>
    List of allocation IDs of the Elastic IP addresses (EIPs) to be used for handling outbound NAT traffic in this specific Availability Zone.
    availabilityZone String
    Availability Zone where this specific NAT gateway configuration is active.
    availabilityZoneId String
    Availability Zone ID where this specific NAT gateway configuration is active
    allocationIds string[]
    List of allocation IDs of the Elastic IP addresses (EIPs) to be used for handling outbound NAT traffic in this specific Availability Zone.
    availabilityZone string
    Availability Zone where this specific NAT gateway configuration is active.
    availabilityZoneId string
    Availability Zone ID where this specific NAT gateway configuration is active
    allocation_ids Sequence[str]
    List of allocation IDs of the Elastic IP addresses (EIPs) to be used for handling outbound NAT traffic in this specific Availability Zone.
    availability_zone str
    Availability Zone where this specific NAT gateway configuration is active.
    availability_zone_id str
    Availability Zone ID where this specific NAT gateway configuration is active
    allocationIds List<String>
    List of allocation IDs of the Elastic IP addresses (EIPs) to be used for handling outbound NAT traffic in this specific Availability Zone.
    availabilityZone String
    Availability Zone where this specific NAT gateway configuration is active.
    availabilityZoneId String
    Availability Zone ID where this specific NAT gateway configuration is active

    GetNatGatewayFilter

    Name string
    Name of the field to filter by, as defined by the underlying AWS API.
    Values List<string>
    Set of values that are accepted for the given field. An Nat Gateway will be selected if any one of the given values matches.
    Name string
    Name of the field to filter by, as defined by the underlying AWS API.
    Values []string
    Set of values that are accepted for the given field. An Nat Gateway will be selected if any one of the given values matches.
    name String
    Name of the field to filter by, as defined by the underlying AWS API.
    values List<String>
    Set of values that are accepted for the given field. An Nat Gateway will be selected if any one of the given values matches.
    name string
    Name of the field to filter by, as defined by the underlying AWS API.
    values string[]
    Set of values that are accepted for the given field. An Nat Gateway will be selected if any one of the given values matches.
    name str
    Name of the field to filter by, as defined by the underlying AWS API.
    values Sequence[str]
    Set of values that are accepted for the given field. An Nat Gateway will be selected if any one of the given values matches.
    name String
    Name of the field to filter by, as defined by the underlying AWS API.
    values List<String>
    Set of values that are accepted for the given field. An Nat Gateway will be selected if any one of the given values matches.

    GetNatGatewayRegionalNatGatewayAddress

    AllocationId string
    Allocation ID of the Elastic IP address.
    AssociationId string
    Association ID of the Elastic IP address.
    AvailabilityZone string
    Availability Zone where this specific NAT gateway configuration is active.
    AvailabilityZoneId string
    Availability Zone ID where this specific NAT gateway configuration is active
    NetworkInterfaceId string
    ID of the network interface.
    PublicIp string
    Public IP address.
    Status string
    Status of the NAT gateway address.
    AllocationId string
    Allocation ID of the Elastic IP address.
    AssociationId string
    Association ID of the Elastic IP address.
    AvailabilityZone string
    Availability Zone where this specific NAT gateway configuration is active.
    AvailabilityZoneId string
    Availability Zone ID where this specific NAT gateway configuration is active
    NetworkInterfaceId string
    ID of the network interface.
    PublicIp string
    Public IP address.
    Status string
    Status of the NAT gateway address.
    allocationId String
    Allocation ID of the Elastic IP address.
    associationId String
    Association ID of the Elastic IP address.
    availabilityZone String
    Availability Zone where this specific NAT gateway configuration is active.
    availabilityZoneId String
    Availability Zone ID where this specific NAT gateway configuration is active
    networkInterfaceId String
    ID of the network interface.
    publicIp String
    Public IP address.
    status String
    Status of the NAT gateway address.
    allocationId string
    Allocation ID of the Elastic IP address.
    associationId string
    Association ID of the Elastic IP address.
    availabilityZone string
    Availability Zone where this specific NAT gateway configuration is active.
    availabilityZoneId string
    Availability Zone ID where this specific NAT gateway configuration is active
    networkInterfaceId string
    ID of the network interface.
    publicIp string
    Public IP address.
    status string
    Status of the NAT gateway address.
    allocation_id str
    Allocation ID of the Elastic IP address.
    association_id str
    Association ID of the Elastic IP address.
    availability_zone str
    Availability Zone where this specific NAT gateway configuration is active.
    availability_zone_id str
    Availability Zone ID where this specific NAT gateway configuration is active
    network_interface_id str
    ID of the network interface.
    public_ip str
    Public IP address.
    status str
    Status of the NAT gateway address.
    allocationId String
    Allocation ID of the Elastic IP address.
    associationId String
    Association ID of the Elastic IP address.
    availabilityZone String
    Availability Zone where this specific NAT gateway configuration is active.
    availabilityZoneId String
    Availability Zone ID where this specific NAT gateway configuration is active
    networkInterfaceId String
    ID of the network interface.
    publicIp String
    Public IP address.
    status String
    Status of the NAT gateway address.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v7.14.0 published on Thursday, Dec 11, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate