Class OsConfigOsPolicyAssignmentOsPolicies.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

      • getId

        public final String getId()
        Description copied from interface: OsConfigOsPolicyAssignmentOsPolicies
        The id of the OS policy with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens.

        * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the assignment. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#id OsConfigOsPolicyAssignment#id} Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Specified by:
        getId in interface OsConfigOsPolicyAssignmentOsPolicies
      • getMode

        public final String getMode()
        Description copied from interface: OsConfigOsPolicyAssignmentOsPolicies
        Policy mode Possible values: ["MODE_UNSPECIFIED", "VALIDATION", "ENFORCEMENT"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#mode OsConfigOsPolicyAssignment#mode}

        Specified by:
        getMode in interface OsConfigOsPolicyAssignmentOsPolicies
      • getAllowNoResourceGroupMatch

        public final Object getAllowNoResourceGroupMatch()
        Description copied from interface: OsConfigOsPolicyAssignmentOsPolicies
        This flag determines the OS policy compliance status when none of the resource groups within the policy are applicable for a VM.

        Set this value to 'true' if the policy needs to be reported as compliant even if the policy has nothing to validate or enforce. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#allow_no_resource_group_match OsConfigOsPolicyAssignment#allow_no_resource_group_match}

        Specified by:
        getAllowNoResourceGroupMatch in interface OsConfigOsPolicyAssignmentOsPolicies
      • getDescription

        public final String getDescription()
        Description copied from interface: OsConfigOsPolicyAssignmentOsPolicies
        Policy description. Length of the description is limited to 1024 characters.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#description OsConfigOsPolicyAssignment#description}

        Specified by:
        getDescription in interface OsConfigOsPolicyAssignmentOsPolicies
      • $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