googleProjectOrganizationPolicy
Allows management of Organization policies for a Google Project. For more information see the official documentation
Example Usage
import * as cdktf from "cdktf";
/*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.*/
const dataGoogleProjectOrganizationPolicyPolicy =
new google.dataGoogleProjectOrganizationPolicy.DataGoogleProjectOrganizationPolicy(
this,
"policy",
{
constraint: "constraints/serviceuser.services",
project: "project-id",
}
);
new cdktf.TerraformOutput(this, "version", {
value: dataGoogleProjectOrganizationPolicyPolicy.version,
});
Argument Reference
The following arguments are supported:
-
project
- (Required) The project ID. -
constraint
- (Required) (Required) The name of the Constraint the Policy is configuring, for example,serviceuserServices
. Check out the complete list of available constraints.
Attributes Reference
See google_project_organization_policy resource for details of the available attributes.