UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

810 lines 151 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface OsConfigOsPolicyAssignmentConfig extends cdktf.TerraformMetaArguments { /** * OS policy assignment description. Length of the description is limited to 1024 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#description OsConfigOsPolicyAssignment#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/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. */ readonly id?: string; /** * The location for the resource * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#location OsConfigOsPolicyAssignment#location} */ readonly location: string; /** * Resource name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#name OsConfigOsPolicyAssignment#name} */ readonly name: string; /** * The project for the resource * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#project OsConfigOsPolicyAssignment#project} */ readonly project?: string; /** * Set to true to skip awaiting rollout during resource creation and update. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#skip_await_rollout OsConfigOsPolicyAssignment#skip_await_rollout} */ readonly skipAwaitRollout?: boolean | cdktf.IResolvable; /** * instance_filter block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#instance_filter OsConfigOsPolicyAssignment#instance_filter} */ readonly instanceFilter: OsConfigOsPolicyAssignmentInstanceFilter; /** * os_policies block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#os_policies OsConfigOsPolicyAssignment#os_policies} */ readonly osPolicies: OsConfigOsPolicyAssignmentOsPolicies[] | cdktf.IResolvable; /** * rollout block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#rollout OsConfigOsPolicyAssignment#rollout} */ readonly rollout: OsConfigOsPolicyAssignmentRollout; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#timeouts OsConfigOsPolicyAssignment#timeouts} */ readonly timeouts?: OsConfigOsPolicyAssignmentTimeouts; } export interface OsConfigOsPolicyAssignmentInstanceFilterExclusionLabels { /** * Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#labels OsConfigOsPolicyAssignment#labels} */ readonly labels?: { [key: string]: string; }; } export declare function osConfigOsPolicyAssignmentInstanceFilterExclusionLabelsToTerraform(struct?: OsConfigOsPolicyAssignmentInstanceFilterExclusionLabels | cdktf.IResolvable): any; export declare function osConfigOsPolicyAssignmentInstanceFilterExclusionLabelsToHclTerraform(struct?: OsConfigOsPolicyAssignmentInstanceFilterExclusionLabels | cdktf.IResolvable): any; export declare class OsConfigOsPolicyAssignmentInstanceFilterExclusionLabelsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): OsConfigOsPolicyAssignmentInstanceFilterExclusionLabels | cdktf.IResolvable | undefined; set internalValue(value: OsConfigOsPolicyAssignmentInstanceFilterExclusionLabels | cdktf.IResolvable | undefined); private _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); resetLabels(): void; get labelsInput(): { [key: string]: string; } | undefined; } export declare class OsConfigOsPolicyAssignmentInstanceFilterExclusionLabelsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: OsConfigOsPolicyAssignmentInstanceFilterExclusionLabels[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): OsConfigOsPolicyAssignmentInstanceFilterExclusionLabelsOutputReference; } export interface OsConfigOsPolicyAssignmentInstanceFilterInclusionLabels { /** * Labels are identified by key/value pairs in this map. A VM should contain all the key/value pairs specified in this map to be selected. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#labels OsConfigOsPolicyAssignment#labels} */ readonly labels?: { [key: string]: string; }; } export declare function osConfigOsPolicyAssignmentInstanceFilterInclusionLabelsToTerraform(struct?: OsConfigOsPolicyAssignmentInstanceFilterInclusionLabels | cdktf.IResolvable): any; export declare function osConfigOsPolicyAssignmentInstanceFilterInclusionLabelsToHclTerraform(struct?: OsConfigOsPolicyAssignmentInstanceFilterInclusionLabels | cdktf.IResolvable): any; export declare class OsConfigOsPolicyAssignmentInstanceFilterInclusionLabelsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): OsConfigOsPolicyAssignmentInstanceFilterInclusionLabels | cdktf.IResolvable | undefined; set internalValue(value: OsConfigOsPolicyAssignmentInstanceFilterInclusionLabels | cdktf.IResolvable | undefined); private _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); resetLabels(): void; get labelsInput(): { [key: string]: string; } | undefined; } export declare class OsConfigOsPolicyAssignmentInstanceFilterInclusionLabelsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: OsConfigOsPolicyAssignmentInstanceFilterInclusionLabels[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): OsConfigOsPolicyAssignmentInstanceFilterInclusionLabelsOutputReference; } export interface OsConfigOsPolicyAssignmentInstanceFilterInventories { /** * The OS short name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#os_short_name OsConfigOsPolicyAssignment#os_short_name} */ readonly osShortName: string; /** * The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of '7', specify the following value for this field '7.*' An empty string matches all OS versions. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#os_version OsConfigOsPolicyAssignment#os_version} */ readonly osVersion?: string; } export declare function osConfigOsPolicyAssignmentInstanceFilterInventoriesToTerraform(struct?: OsConfigOsPolicyAssignmentInstanceFilterInventories | cdktf.IResolvable): any; export declare function osConfigOsPolicyAssignmentInstanceFilterInventoriesToHclTerraform(struct?: OsConfigOsPolicyAssignmentInstanceFilterInventories | cdktf.IResolvable): any; export declare class OsConfigOsPolicyAssignmentInstanceFilterInventoriesOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): OsConfigOsPolicyAssignmentInstanceFilterInventories | cdktf.IResolvable | undefined; set internalValue(value: OsConfigOsPolicyAssignmentInstanceFilterInventories | cdktf.IResolvable | undefined); private _osShortName?; get osShortName(): string; set osShortName(value: string); get osShortNameInput(): string | undefined; private _osVersion?; get osVersion(): string; set osVersion(value: string); resetOsVersion(): void; get osVersionInput(): string | undefined; } export declare class OsConfigOsPolicyAssignmentInstanceFilterInventoriesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: OsConfigOsPolicyAssignmentInstanceFilterInventories[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): OsConfigOsPolicyAssignmentInstanceFilterInventoriesOutputReference; } export interface OsConfigOsPolicyAssignmentInstanceFilter { /** * Target all VMs in the project. If true, no other criteria is permitted. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#all OsConfigOsPolicyAssignment#all} */ readonly all?: boolean | cdktf.IResolvable; /** * exclusion_labels block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#exclusion_labels OsConfigOsPolicyAssignment#exclusion_labels} */ readonly exclusionLabels?: OsConfigOsPolicyAssignmentInstanceFilterExclusionLabels[] | cdktf.IResolvable; /** * inclusion_labels block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#inclusion_labels OsConfigOsPolicyAssignment#inclusion_labels} */ readonly inclusionLabels?: OsConfigOsPolicyAssignmentInstanceFilterInclusionLabels[] | cdktf.IResolvable; /** * inventories block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#inventories OsConfigOsPolicyAssignment#inventories} */ readonly inventories?: OsConfigOsPolicyAssignmentInstanceFilterInventories[] | cdktf.IResolvable; } export declare function osConfigOsPolicyAssignmentInstanceFilterToTerraform(struct?: OsConfigOsPolicyAssignmentInstanceFilterOutputReference | OsConfigOsPolicyAssignmentInstanceFilter): any; export declare function osConfigOsPolicyAssignmentInstanceFilterToHclTerraform(struct?: OsConfigOsPolicyAssignmentInstanceFilterOutputReference | OsConfigOsPolicyAssignmentInstanceFilter): any; export declare class OsConfigOsPolicyAssignmentInstanceFilterOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigOsPolicyAssignmentInstanceFilter | undefined; set internalValue(value: OsConfigOsPolicyAssignmentInstanceFilter | undefined); private _all?; get all(): boolean | cdktf.IResolvable; set all(value: boolean | cdktf.IResolvable); resetAll(): void; get allInput(): boolean | cdktf.IResolvable | undefined; private _exclusionLabels; get exclusionLabels(): OsConfigOsPolicyAssignmentInstanceFilterExclusionLabelsList; putExclusionLabels(value: OsConfigOsPolicyAssignmentInstanceFilterExclusionLabels[] | cdktf.IResolvable): void; resetExclusionLabels(): void; get exclusionLabelsInput(): cdktf.IResolvable | OsConfigOsPolicyAssignmentInstanceFilterExclusionLabels[] | undefined; private _inclusionLabels; get inclusionLabels(): OsConfigOsPolicyAssignmentInstanceFilterInclusionLabelsList; putInclusionLabels(value: OsConfigOsPolicyAssignmentInstanceFilterInclusionLabels[] | cdktf.IResolvable): void; resetInclusionLabels(): void; get inclusionLabelsInput(): cdktf.IResolvable | OsConfigOsPolicyAssignmentInstanceFilterInclusionLabels[] | undefined; private _inventories; get inventories(): OsConfigOsPolicyAssignmentInstanceFilterInventoriesList; putInventories(value: OsConfigOsPolicyAssignmentInstanceFilterInventories[] | cdktf.IResolvable): void; resetInventories(): void; get inventoriesInput(): cdktf.IResolvable | OsConfigOsPolicyAssignmentInstanceFilterInventories[] | undefined; } export interface OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsInventoryFilters { /** * The OS short name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#os_short_name OsConfigOsPolicyAssignment#os_short_name} */ readonly osShortName: string; /** * The OS version * Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of '7', specify the following value for this field '7.*' * An empty string matches all OS versions. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#os_version OsConfigOsPolicyAssignment#os_version} */ readonly osVersion?: string; } export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsInventoryFiltersToTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsInventoryFilters | cdktf.IResolvable): any; export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsInventoryFiltersToHclTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsInventoryFilters | cdktf.IResolvable): any; export declare class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsInventoryFiltersOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsInventoryFilters | cdktf.IResolvable | undefined; set internalValue(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsInventoryFilters | cdktf.IResolvable | undefined); private _osShortName?; get osShortName(): string; set osShortName(value: string); get osShortNameInput(): string | undefined; private _osVersion?; get osVersion(): string; set osVersion(value: string); resetOsVersion(): void; get osVersionInput(): string | undefined; } export declare class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsInventoryFiltersList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsInventoryFilters[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsInventoryFiltersOutputReference; } export interface OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcs { /** * Bucket of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#bucket OsConfigOsPolicyAssignment#bucket} */ readonly bucket: string; /** * Generation number of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#generation OsConfigOsPolicyAssignment#generation} */ readonly generation?: number; /** * Name of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#object OsConfigOsPolicyAssignment#object} */ readonly object: string; } export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcsToTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcsOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcs): any; export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcsToHclTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcsOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcs): any; export declare class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcs | undefined; set internalValue(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcs | undefined); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string | undefined; private _generation?; get generation(): number; set generation(value: number); resetGeneration(): void; get generationInput(): number | undefined; private _object?; get object(): string; set object(value: string); get objectInput(): string | undefined; } export interface OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemote { /** * SHA256 checksum of the remote file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#sha256_checksum OsConfigOsPolicyAssignment#sha256_checksum} */ readonly sha256Checksum?: string; /** * URI from which to fetch the object. It should contain both the protocol and path following the format '{protocol}://{location}'. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#uri OsConfigOsPolicyAssignment#uri} */ readonly uri: string; } export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemoteToTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemoteOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemote): any; export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemoteToHclTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemoteOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemote): any; export declare class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemoteOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemote | undefined; set internalValue(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemote | undefined); private _sha256Checksum?; get sha256Checksum(): string; set sha256Checksum(value: string); resetSha256Checksum(): void; get sha256ChecksumInput(): string | undefined; private _uri?; get uri(): string; set uri(value: string); get uriInput(): string | undefined; } export interface OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFile { /** * Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#allow_insecure OsConfigOsPolicyAssignment#allow_insecure} */ readonly allowInsecure?: boolean | cdktf.IResolvable; /** * A local path within the VM to use. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#local_path OsConfigOsPolicyAssignment#local_path} */ readonly localPath?: string; /** * gcs block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#gcs OsConfigOsPolicyAssignment#gcs} */ readonly gcs?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcs; /** * remote block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#remote OsConfigOsPolicyAssignment#remote} */ readonly remote?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemote; } export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileToTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFile): any; export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileToHclTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFile): any; export declare class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFile | undefined; set internalValue(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFile | undefined); private _allowInsecure?; get allowInsecure(): boolean | cdktf.IResolvable; set allowInsecure(value: boolean | cdktf.IResolvable); resetAllowInsecure(): void; get allowInsecureInput(): boolean | cdktf.IResolvable | undefined; private _localPath?; get localPath(): string; set localPath(value: string); resetLocalPath(): void; get localPathInput(): string | undefined; private _gcs; get gcs(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcsOutputReference; putGcs(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcs): void; resetGcs(): void; get gcsInput(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileGcs | undefined; private _remote; get remote(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemoteOutputReference; putRemote(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemote): void; resetRemote(): void; get remoteInput(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileRemote | undefined; } export interface OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforce { /** * Optional arguments to pass to the source during execution. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#args OsConfigOsPolicyAssignment#args} */ readonly args?: string[]; /** * The script interpreter to use. Possible values: ["INTERPRETER_UNSPECIFIED", "NONE", "SHELL", "POWERSHELL"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#interpreter OsConfigOsPolicyAssignment#interpreter} */ readonly interpreter: string; /** * 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/6.13.0/docs/resources/os_config_os_policy_assignment#output_file_path OsConfigOsPolicyAssignment#output_file_path} */ readonly outputFilePath?: string; /** * 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/6.13.0/docs/resources/os_config_os_policy_assignment#script OsConfigOsPolicyAssignment#script} */ readonly script?: string; /** * file block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#file OsConfigOsPolicyAssignment#file} */ readonly file?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFile; } export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceToTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforce): any; export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceToHclTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforce): any; export declare class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforce | undefined; set internalValue(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforce | undefined); private _args?; get args(): string[]; set args(value: string[]); resetArgs(): void; get argsInput(): string[] | undefined; private _interpreter?; get interpreter(): string; set interpreter(value: string); get interpreterInput(): string | undefined; private _outputFilePath?; get outputFilePath(): string; set outputFilePath(value: string); resetOutputFilePath(): void; get outputFilePathInput(): string | undefined; private _script?; get script(): string; set script(value: string); resetScript(): void; get scriptInput(): string | undefined; private _file; get file(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFileOutputReference; putFile(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFile): void; resetFile(): void; get fileInput(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceFile | undefined; } export interface OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcs { /** * Bucket of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#bucket OsConfigOsPolicyAssignment#bucket} */ readonly bucket: string; /** * Generation number of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#generation OsConfigOsPolicyAssignment#generation} */ readonly generation?: number; /** * Name of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#object OsConfigOsPolicyAssignment#object} */ readonly object: string; } export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcsToTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcsOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcs): any; export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcsToHclTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcsOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcs): any; export declare class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcs | undefined; set internalValue(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcs | undefined); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string | undefined; private _generation?; get generation(): number; set generation(value: number); resetGeneration(): void; get generationInput(): number | undefined; private _object?; get object(): string; set object(value: string); get objectInput(): string | undefined; } export interface OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemote { /** * SHA256 checksum of the remote file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#sha256_checksum OsConfigOsPolicyAssignment#sha256_checksum} */ readonly sha256Checksum?: string; /** * URI from which to fetch the object. It should contain both the protocol and path following the format '{protocol}://{location}'. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#uri OsConfigOsPolicyAssignment#uri} */ readonly uri: string; } export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemoteToTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemoteOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemote): any; export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemoteToHclTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemoteOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemote): any; export declare class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemoteOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemote | undefined; set internalValue(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemote | undefined); private _sha256Checksum?; get sha256Checksum(): string; set sha256Checksum(value: string); resetSha256Checksum(): void; get sha256ChecksumInput(): string | undefined; private _uri?; get uri(): string; set uri(value: string); get uriInput(): string | undefined; } export interface OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFile { /** * Defaults to false. When false, files are subject to validations based on the file type: * Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#allow_insecure OsConfigOsPolicyAssignment#allow_insecure} */ readonly allowInsecure?: boolean | cdktf.IResolvable; /** * A local path within the VM to use. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#local_path OsConfigOsPolicyAssignment#local_path} */ readonly localPath?: string; /** * gcs block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#gcs OsConfigOsPolicyAssignment#gcs} */ readonly gcs?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcs; /** * remote block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#remote OsConfigOsPolicyAssignment#remote} */ readonly remote?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemote; } export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileToTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFile): any; export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileToHclTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFile): any; export declare class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFile | undefined; set internalValue(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFile | undefined); private _allowInsecure?; get allowInsecure(): boolean | cdktf.IResolvable; set allowInsecure(value: boolean | cdktf.IResolvable); resetAllowInsecure(): void; get allowInsecureInput(): boolean | cdktf.IResolvable | undefined; private _localPath?; get localPath(): string; set localPath(value: string); resetLocalPath(): void; get localPathInput(): string | undefined; private _gcs; get gcs(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcsOutputReference; putGcs(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcs): void; resetGcs(): void; get gcsInput(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileGcs | undefined; private _remote; get remote(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemoteOutputReference; putRemote(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemote): void; resetRemote(): void; get remoteInput(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileRemote | undefined; } export interface OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidate { /** * Optional arguments to pass to the source during execution. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#args OsConfigOsPolicyAssignment#args} */ readonly args?: string[]; /** * The script interpreter to use. Possible values: ["INTERPRETER_UNSPECIFIED", "NONE", "SHELL", "POWERSHELL"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#interpreter OsConfigOsPolicyAssignment#interpreter} */ readonly interpreter: string; /** * 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/6.13.0/docs/resources/os_config_os_policy_assignment#output_file_path OsConfigOsPolicyAssignment#output_file_path} */ readonly outputFilePath?: string; /** * 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/6.13.0/docs/resources/os_config_os_policy_assignment#script OsConfigOsPolicyAssignment#script} */ readonly script?: string; /** * file block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#file OsConfigOsPolicyAssignment#file} */ readonly file?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFile; } export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateToTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidate): any; export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateToHclTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidate): any; export declare class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidate | undefined; set internalValue(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidate | undefined); private _args?; get args(): string[]; set args(value: string[]); resetArgs(): void; get argsInput(): string[] | undefined; private _interpreter?; get interpreter(): string; set interpreter(value: string); get interpreterInput(): string | undefined; private _outputFilePath?; get outputFilePath(): string; set outputFilePath(value: string); resetOutputFilePath(): void; get outputFilePathInput(): string | undefined; private _script?; get script(): string; set script(value: string); resetScript(): void; get scriptInput(): string | undefined; private _file; get file(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFileOutputReference; putFile(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFile): void; resetFile(): void; get fileInput(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateFile | undefined; } export interface OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExec { /** * enforce block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#enforce OsConfigOsPolicyAssignment#enforce} */ readonly enforce?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforce; /** * validate block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#validate OsConfigOsPolicyAssignment#validate} */ readonly validate: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidate; } export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecToTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExec): any; export declare function osConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecToHclTerraform(struct?: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecOutputReference | OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExec): any; export declare class OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExec | undefined; set internalValue(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExec | undefined); private _enforce; get enforce(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforceOutputReference; putEnforce(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforce): void; resetEnforce(): void; get enforceInput(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecEnforce | undefined; private _validate; get validate(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidateOutputReference; putValidate(value: OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidate): void; get validateInput(): OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesExecValidate | undefined; } export interface OsConfigOsPolicyAssignmentOsPoliciesResourceGroupsResourcesFileFileGcs { /** * Bucket of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#bucket OsConfigOsPolicyAssignment#bucket} */ readonly bucket: string; /** * Generation number of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#generation OsConfigOsPolicyAssignment#generation} */ readonly generation?: number; /** * Name of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_os_policy_assignment#object OsConfigOsPolicyAssignment#object} */ readonly object: string; } expo