googleVpcAccessConnector
Get a Serverless VPC Access connector.
To get more information about Connector, see:
- API documentation
- How-to Guides
- Configuring Serverless VPC Access
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.vpcAccessConnector.VpcAccessConnector(this, "connector", {
ip_cidr_range: "10.8.0.0/28",
name: "vpc-con",
network: "default",
region: "us-central1",
});
new google.dataGoogleVpcAccessConnector.DataGoogleVpcAccessConnector(
this,
"sample",
{
name: "vpc-con",
}
);
Argument Reference
The following arguments are supported:
name
- (Required) Name of the resource.
-
project
- (Optional) The ID of 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 provider region is used.
Attributes Reference
See google_vpc_access_connector resource for details of the available attributes.