Interface OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidate

    • Method Detail

      • getInterpreter

        @Stability(Stable)
        @NotNull
        String getInterpreter()
        The script interpreter to use. Possible values: ["INTERPRETER_UNSPECIFIED", "NONE", "SHELL", "POWERSHELL"].

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

      • getArgs

        @Stability(Stable)
        @Nullable
        default List<String> getArgs()
        Optional arguments to pass to the source during execution.

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

      • getOutputFilePath

        @Stability(Stable)
        @Nullable
        default String getOutputFilePath()
        Only recorded for enforce Exec.

        Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#output_file_path OsConfigOsPolicyAssignment#output_file_path}

      • getScript

        @Stability(Stable)
        @Nullable
        default String getScript()
        An inline script. The size of the script 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#script OsConfigOsPolicyAssignment#script}