googleComputeForwardingRule
Get a forwarding rule within GCE from its name.
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.dataGoogleComputeForwardingRule.DataGoogleComputeForwardingRule(
this,
"my-forwarding-rule",
{
name: "forwarding-rule-us-east1",
}
);
Argument Reference
The following arguments are supported:
name
- (Required) The name of the forwarding rule.
-
project
- (Optional) The project in which the resource belongs. If it is not provided, the provider project is used. -
region
- (Optional) The region in which the resource belongs. If it is not provided, the project region is used.
Attributes Reference
See google_compute_forwarding_rule resource for details of the available attributes.