PolicyState constructor
- Input<
String?> ? deletionPolicy, - Input<
PolicyDryRunSpec?> ? dryRunSpec, - Input<
String?> ? etag, - Input<
String?> ? name, - Input<
String?> ? parent, - Input<
PolicySpec?> ? spec,
Creates a new PolicyState.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
dryRunSpec Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced.
etag Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
name Immutable. The resource name of the Policy. Must be one of the following forms, where constraintName is the name of the constraint which this Policy configures: * projects/{project_number}/policies/{constraint_name} * folders/{folder_id}/policies/{constraint_name} * organizations/{organization_id}/policies/{constraint_name} For example, "projects/123/policies/compute.disableSerialPortAccess". Note: projects/{project_id}/policies/{constraint_name} is also an acceptable name for API requests, but responses will return the name using the equivalent project number.
parent The parent of the resource.
spec Basic information about the Organization Policy.
Implementation
const PolicyState({
this.deletionPolicy,
this.dryRunSpec,
this.etag,
this.name,
this.parent,
this.spec,
});