Class OrgPolicyPolicySpec.Jsii$Proxy

    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getInheritFromParent

        public final Object getInheritFromParent()
        Description copied from interface: OrgPolicyPolicySpec
        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}

        Specified by:
        getInheritFromParent in interface OrgPolicyPolicySpec
      • getReset

        public final Object getReset()
        Description copied from interface: OrgPolicyPolicySpec
        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}

        Specified by:
        getReset in interface OrgPolicyPolicySpec
      • getRules

        public final Object getRules()
        Description copied from interface: OrgPolicyPolicySpec
        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}

        Specified by:
        getRules in interface OrgPolicyPolicySpec
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object