AWS Native v0.49.0, Jan 26 23
AWS Native v0.49.0, Jan 26 23
aws-native.ec2.getNatGateway
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