AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.79.0 published on Monday, Oct 2, 2023 by Pulumi
aws-native.ec2.getNatGateway
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.79.0 published on Monday, Oct 2, 2023 by Pulumi
Resource Type definition for AWS::EC2::NatGateway
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(nat_gateway_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNatGatewayResult
def get_nat_gateway_output(nat_gateway_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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ec2:getNatGateway
arguments:
# arguments dictionary
The following arguments are supported:
- Nat
Gateway stringId
- Nat
Gateway stringId
- nat
Gateway StringId
- nat
Gateway stringId
- nat_
gateway_ strid
- nat
Gateway StringId
getNatGateway Result
The following output properties are available:
- Nat
Gateway stringId - Secondary
Allocation List<string>Ids - Secondary
Private intIp Address Count - Secondary
Private List<string>Ip Addresses - List<Pulumi.
Aws Native. Ec2. Outputs. Nat Gateway Tag>
- Nat
Gateway stringId - Secondary
Allocation []stringIds - Secondary
Private intIp Address Count - Secondary
Private []stringIp Addresses - []Nat
Gateway Tag
- nat
Gateway StringId - secondary
Allocation List<String>Ids - secondary
Private IntegerIp Address Count - secondary
Private List<String>Ip Addresses - List<Nat
Gateway Tag>
- nat
Gateway stringId - secondary
Allocation string[]Ids - secondary
Private numberIp Address Count - secondary
Private string[]Ip Addresses - Nat
Gateway Tag[]
- nat_
gateway_ strid - secondary_
allocation_ Sequence[str]ids - secondary_
private_ intip_ address_ count - secondary_
private_ Sequence[str]ip_ addresses - Sequence[Nat
Gateway Tag]
- nat
Gateway StringId - secondary
Allocation List<String>Ids - secondary
Private NumberIp Address Count - secondary
Private List<String>Ip Addresses - List<Property Map>
Supporting Types
NatGatewayTag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.79.0 published on Monday, Oct 2, 2023 by Pulumi