Interface OrgPolicyPolicySpec
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
OrgPolicyPolicySpec.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.223Z") @Stability(Stable) public interface OrgPolicyPolicySpec extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOrgPolicyPolicySpec.BuilderA builder forOrgPolicyPolicySpecstatic classOrgPolicyPolicySpec.Jsii$ProxyAn implementation forOrgPolicyPolicySpec
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static OrgPolicyPolicySpec.Builderbuilder()default ObjectgetInheritFromParent()Determines the inheritance behavior for this 'Policy'.default ObjectgetReset()Ignores policies set above this resource and restores the 'constraint_default' enforcement behavior of the specific 'Constraint' at this resource.default ObjectgetRules()rules block.
-
-
-
Method Detail
-
getInheritFromParent
@Stability(Stable) @Nullable default Object getInheritFromParent()
Determines the inheritance behavior for this 'Policy'.If 'inherit_from_parent' is true, PolicyRules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this Policy becomes the new root for evaluation. This field can be set only for Policies which configure list constraints. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#inherit_from_parent OrgPolicyPolicy#inherit_from_parent}
-
getReset
@Stability(Stable) @Nullable default Object getReset()
Ignores policies set above this resource and restores the 'constraint_default' enforcement behavior of the specific 'Constraint' at this resource.This field can be set in policies for either list or boolean constraints. If set, 'rules' must be empty and 'inherit_from_parent' must be set to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#reset OrgPolicyPolicy#reset}
-
getRules
@Stability(Stable) @Nullable default Object getRules()
rules block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#rules OrgPolicyPolicy#rules}
-
builder
@Stability(Stable) static OrgPolicyPolicySpec.Builder builder()
- Returns:
- a
OrgPolicyPolicySpec.BuilderofOrgPolicyPolicySpec
-
-