OrganizationPolicyArgs constructor
- Input<
OrganizationPolicyBooleanPolicy?> ? booleanPolicy, - required Input<
String> constraint, - Input<
String?> ? deletionPolicy, - required Input<
String> folder, - Input<
OrganizationPolicyListPolicy?> ? listPolicy, - Input<
OrganizationPolicyRestorePolicy?> ? restorePolicy, - Input<
int?> ? version,
Creates a new OrganizationPolicyArgs.
booleanPolicy A boolean policy is a constraint that is either enforced or not. Structure is documented below.
constraint The name of the Constraint the Policy is configuring, for example, serviceuser.services. Check out the complete list of available constraints.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
folder The resource name of the folder to set the policy for. Its format is folders/{folder_id}.
listPolicy A policy that can define specific values that are allowed or denied for the given constraint. It
restorePolicy A restore policy is a constraint to restore the default policy. Structure is documented below.
version Version of the Policy. Default version is 0.
Implementation
const OrganizationPolicyArgs({
this.booleanPolicy,
required this.constraint,
this.deletionPolicy,
required this.folder,
this.listPolicy,
this.restorePolicy,
this.version,
});