Skip to content

googleComputeRouterNat

To get more information about Snapshot, see:

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.dataGoogleComputeRouterNat.DataGoogleComputeRouterNat(this, "foo", {
  name: "my-nat",
  router: "my-router",
});

Argument Reference

The following arguments are supported:

  • name - (Required) Name of the NAT service. The name must be 1-63 characters long and comply with RFC1035.

  • router - (Required) The name of the Cloud Router in which this NAT will be configured.


  • project - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

  • region - (Optional) Region where the router and NAT reside.

Attributes Reference

See google_compute_router_nat resource for details of the available attributes.