getNatGateways

This resource can be useful for getting back a list of NAT gateway ids to be referenced elsewhere.

Return

A collection of values returned by getNatGateways.

Parameters

argument

A collection of arguments for invoking getNatGateways.


suspend fun getNatGateways(filters: List<GetNatGatewaysFilter>? = null, tags: Map<String, String>? = null, vpcId: String? = null): GetNatGatewaysResult

Return

A collection of values returned by getNatGateways.

Parameters

filters

Custom filter block as described below.

tags

Map of tags, each pair of which must exactly match a pair on the desired NAT Gateways. More complex filters can be expressed using one or more filter sub-blocks, which take the following arguments:

vpcId

VPC ID that you want to filter from.

See also


Return

A collection of values returned by getNatGateways.

Parameters

argument

Builder for com.pulumi.aws.ec2.kotlin.inputs.GetNatGatewaysPlainArgs.

See also