UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

858 lines 80.8 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CloudRunV2JobConfig extends cdktf.TerraformMetaArguments { /** * Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. * * Cloud Run API v2 does not support annotations with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected on new resources. * All system annotations in v1 now have a corresponding field in v2 Job. * * This field follows Kubernetes annotations' namespacing, limits, and rules. * * **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. * Please refer to the field 'effective_annotations' for all of the annotations present on the resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#annotations CloudRunV2Job#annotations} */ readonly annotations?: { [key: string]: string; }; /** * Arbitrary identifier for the API client. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#client CloudRunV2Job#client} */ readonly client?: string; /** * Arbitrary version identifier for the API client. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#client_version CloudRunV2Job#client_version} */ readonly clientVersion?: string; /** * Whether Terraform will be prevented from destroying the job. Defaults to true. * When a'terraform destroy' or 'terraform apply' would delete the job, * the command will fail if this field is not set to false in Terraform state. * When the field is set to true or unset in Terraform state, a 'terraform apply' * or 'terraform destroy' that would delete the job will fail. * When the field is set to false, deleting the job is allowed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#deletion_protection CloudRunV2Job#deletion_protection} */ readonly deletionProtection?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#id CloudRunV2Job#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; /** * Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, * environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. * * Cloud Run API v2 does not support labels with 'run.googleapis.com', 'cloud.googleapis.com', 'serving.knative.dev', or 'autoscaling.knative.dev' namespaces, and they will be rejected. * All system labels in v1 now have a corresponding field in v2 Job. * * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. * Please refer to the field 'effective_labels' for all of the labels present on the resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#labels CloudRunV2Job#labels} */ readonly labels?: { [key: string]: string; }; /** * The launch stage as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/products#product-launch-stages). Cloud Run supports ALPHA, BETA, and GA. * If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. * * For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output. Possible values: ["UNIMPLEMENTED", "PRELAUNCH", "EARLY_ACCESS", "ALPHA", "BETA", "GA", "DEPRECATED"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#launch_stage CloudRunV2Job#launch_stage} */ readonly launchStage?: string; /** * The location of the cloud run job * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#location CloudRunV2Job#location} */ readonly location: string; /** * Name of the Job. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#name CloudRunV2Job#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#project CloudRunV2Job#project} */ readonly project?: string; /** * binary_authorization block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#binary_authorization CloudRunV2Job#binary_authorization} */ readonly binaryAuthorization?: CloudRunV2JobBinaryAuthorization; /** * template block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#template CloudRunV2Job#template} */ readonly template: CloudRunV2JobTemplate; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#timeouts CloudRunV2Job#timeouts} */ readonly timeouts?: CloudRunV2JobTimeouts; } export interface CloudRunV2JobConditions { } export declare function cloudRunV2JobConditionsToTerraform(struct?: CloudRunV2JobConditions): any; export declare function cloudRunV2JobConditionsToHclTerraform(struct?: CloudRunV2JobConditions): any; export declare class CloudRunV2JobConditionsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): CloudRunV2JobConditions | undefined; set internalValue(value: CloudRunV2JobConditions | undefined); get executionReason(): string; get lastTransitionTime(): string; get message(): string; get reason(): string; get revisionReason(): string; get severity(): string; get state(): string; get type(): string; } export declare class CloudRunV2JobConditionsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): CloudRunV2JobConditionsOutputReference; } export interface CloudRunV2JobLatestCreatedExecution { } export declare function cloudRunV2JobLatestCreatedExecutionToTerraform(struct?: CloudRunV2JobLatestCreatedExecution): any; export declare function cloudRunV2JobLatestCreatedExecutionToHclTerraform(struct?: CloudRunV2JobLatestCreatedExecution): any; export declare class CloudRunV2JobLatestCreatedExecutionOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): CloudRunV2JobLatestCreatedExecution | undefined; set internalValue(value: CloudRunV2JobLatestCreatedExecution | undefined); get completionTime(): string; get createTime(): string; get name(): string; } export declare class CloudRunV2JobLatestCreatedExecutionList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): CloudRunV2JobLatestCreatedExecutionOutputReference; } export interface CloudRunV2JobTerminalCondition { } export declare function cloudRunV2JobTerminalConditionToTerraform(struct?: CloudRunV2JobTerminalCondition): any; export declare function cloudRunV2JobTerminalConditionToHclTerraform(struct?: CloudRunV2JobTerminalCondition): any; export declare class CloudRunV2JobTerminalConditionOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): CloudRunV2JobTerminalCondition | undefined; set internalValue(value: CloudRunV2JobTerminalCondition | undefined); get executionReason(): string; get lastTransitionTime(): string; get message(): string; get reason(): string; get revisionReason(): string; get severity(): string; get state(): string; get type(): string; } export declare class CloudRunV2JobTerminalConditionList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): CloudRunV2JobTerminalConditionOutputReference; } export interface CloudRunV2JobBinaryAuthorization { /** * If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#breakglass_justification CloudRunV2Job#breakglass_justification} */ readonly breakglassJustification?: string; /** * The path to a binary authorization policy. Format: projects/{project}/platforms/cloudRun/{policy-name} * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#policy CloudRunV2Job#policy} */ readonly policy?: string; /** * If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#use_default CloudRunV2Job#use_default} */ readonly useDefault?: boolean | cdktf.IResolvable; } export declare function cloudRunV2JobBinaryAuthorizationToTerraform(struct?: CloudRunV2JobBinaryAuthorizationOutputReference | CloudRunV2JobBinaryAuthorization): any; export declare function cloudRunV2JobBinaryAuthorizationToHclTerraform(struct?: CloudRunV2JobBinaryAuthorizationOutputReference | CloudRunV2JobBinaryAuthorization): any; export declare class CloudRunV2JobBinaryAuthorizationOutputReference 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(): CloudRunV2JobBinaryAuthorization | undefined; set internalValue(value: CloudRunV2JobBinaryAuthorization | undefined); private _breakglassJustification?; get breakglassJustification(): string; set breakglassJustification(value: string); resetBreakglassJustification(): void; get breakglassJustificationInput(): string | undefined; private _policy?; get policy(): string; set policy(value: string); resetPolicy(): void; get policyInput(): string | undefined; private _useDefault?; get useDefault(): boolean | cdktf.IResolvable; set useDefault(value: boolean | cdktf.IResolvable); resetUseDefault(): void; get useDefaultInput(): boolean | cdktf.IResolvable | undefined; } export interface CloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRef { /** * The name of the secret in Cloud Secret Manager. Format: {secretName} if the secret is in the same project. projects/{project}/secrets/{secretName} if the secret is in a different project. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#secret CloudRunV2Job#secret} */ readonly secret: string; /** * The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#version CloudRunV2Job#version} */ readonly version: string; } export declare function cloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRefToTerraform(struct?: CloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRefOutputReference | CloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRef): any; export declare function cloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRefToHclTerraform(struct?: CloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRefOutputReference | CloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRef): any; export declare class CloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRefOutputReference 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(): CloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRef | undefined; set internalValue(value: CloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRef | undefined); private _secret?; get secret(): string; set secret(value: string); get secretInput(): string | undefined; private _version?; get version(): string; set version(value: string); get versionInput(): string | undefined; } export interface CloudRunV2JobTemplateTemplateContainersEnvValueSource { /** * secret_key_ref block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#secret_key_ref CloudRunV2Job#secret_key_ref} */ readonly secretKeyRef?: CloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRef; } export declare function cloudRunV2JobTemplateTemplateContainersEnvValueSourceToTerraform(struct?: CloudRunV2JobTemplateTemplateContainersEnvValueSourceOutputReference | CloudRunV2JobTemplateTemplateContainersEnvValueSource): any; export declare function cloudRunV2JobTemplateTemplateContainersEnvValueSourceToHclTerraform(struct?: CloudRunV2JobTemplateTemplateContainersEnvValueSourceOutputReference | CloudRunV2JobTemplateTemplateContainersEnvValueSource): any; export declare class CloudRunV2JobTemplateTemplateContainersEnvValueSourceOutputReference 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(): CloudRunV2JobTemplateTemplateContainersEnvValueSource | undefined; set internalValue(value: CloudRunV2JobTemplateTemplateContainersEnvValueSource | undefined); private _secretKeyRef; get secretKeyRef(): CloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRefOutputReference; putSecretKeyRef(value: CloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRef): void; resetSecretKeyRef(): void; get secretKeyRefInput(): CloudRunV2JobTemplateTemplateContainersEnvValueSourceSecretKeyRef | undefined; } export interface CloudRunV2JobTemplateTemplateContainersEnv { /** * Name of the environment variable. Must be a C_IDENTIFIER, and mnay not exceed 32768 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#name CloudRunV2Job#name} */ readonly name: string; /** * Literal value of the environment variable. Defaults to "" and the maximum allowed length is 32768 characters. Variable references are not supported in Cloud Run. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#value CloudRunV2Job#value} */ readonly value?: string; /** * value_source block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#value_source CloudRunV2Job#value_source} */ readonly valueSource?: CloudRunV2JobTemplateTemplateContainersEnvValueSource; } export declare function cloudRunV2JobTemplateTemplateContainersEnvToTerraform(struct?: CloudRunV2JobTemplateTemplateContainersEnv | cdktf.IResolvable): any; export declare function cloudRunV2JobTemplateTemplateContainersEnvToHclTerraform(struct?: CloudRunV2JobTemplateTemplateContainersEnv | cdktf.IResolvable): any; export declare class CloudRunV2JobTemplateTemplateContainersEnvOutputReference 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(): CloudRunV2JobTemplateTemplateContainersEnv | cdktf.IResolvable | undefined; set internalValue(value: CloudRunV2JobTemplateTemplateContainersEnv | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; private _value?; get value(): string; set value(value: string); resetValue(): void; get valueInput(): string | undefined; private _valueSource; get valueSource(): CloudRunV2JobTemplateTemplateContainersEnvValueSourceOutputReference; putValueSource(value: CloudRunV2JobTemplateTemplateContainersEnvValueSource): void; resetValueSource(): void; get valueSourceInput(): CloudRunV2JobTemplateTemplateContainersEnvValueSource | undefined; } export declare class CloudRunV2JobTemplateTemplateContainersEnvList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CloudRunV2JobTemplateTemplateContainersEnv[] | 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): CloudRunV2JobTemplateTemplateContainersEnvOutputReference; } export interface CloudRunV2JobTemplateTemplateContainersPorts { /** * Port number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#container_port CloudRunV2Job#container_port} */ readonly containerPort?: number; /** * If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#name CloudRunV2Job#name} */ readonly name?: string; } export declare function cloudRunV2JobTemplateTemplateContainersPortsToTerraform(struct?: CloudRunV2JobTemplateTemplateContainersPorts | cdktf.IResolvable): any; export declare function cloudRunV2JobTemplateTemplateContainersPortsToHclTerraform(struct?: CloudRunV2JobTemplateTemplateContainersPorts | cdktf.IResolvable): any; export declare class CloudRunV2JobTemplateTemplateContainersPortsOutputReference 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(): CloudRunV2JobTemplateTemplateContainersPorts | cdktf.IResolvable | undefined; set internalValue(value: CloudRunV2JobTemplateTemplateContainersPorts | cdktf.IResolvable | undefined); private _containerPort?; get containerPort(): number; set containerPort(value: number); resetContainerPort(): void; get containerPortInput(): number | undefined; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string | undefined; } export declare class CloudRunV2JobTemplateTemplateContainersPortsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CloudRunV2JobTemplateTemplateContainersPorts[] | 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): CloudRunV2JobTemplateTemplateContainersPortsOutputReference; } export interface CloudRunV2JobTemplateTemplateContainersResources { /** * Only memory and CPU are supported. Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#limits CloudRunV2Job#limits} */ readonly limits?: { [key: string]: string; }; } export declare function cloudRunV2JobTemplateTemplateContainersResourcesToTerraform(struct?: CloudRunV2JobTemplateTemplateContainersResourcesOutputReference | CloudRunV2JobTemplateTemplateContainersResources): any; export declare function cloudRunV2JobTemplateTemplateContainersResourcesToHclTerraform(struct?: CloudRunV2JobTemplateTemplateContainersResourcesOutputReference | CloudRunV2JobTemplateTemplateContainersResources): any; export declare class CloudRunV2JobTemplateTemplateContainersResourcesOutputReference 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(): CloudRunV2JobTemplateTemplateContainersResources | undefined; set internalValue(value: CloudRunV2JobTemplateTemplateContainersResources | undefined); private _limits?; get limits(): { [key: string]: string; }; set limits(value: { [key: string]: string; }); resetLimits(): void; get limitsInput(): { [key: string]: string; } | undefined; } export interface CloudRunV2JobTemplateTemplateContainersVolumeMounts { /** * Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#mount_path CloudRunV2Job#mount_path} */ readonly mountPath: string; /** * This must match the Name of a Volume. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#name CloudRunV2Job#name} */ readonly name: string; } export declare function cloudRunV2JobTemplateTemplateContainersVolumeMountsToTerraform(struct?: CloudRunV2JobTemplateTemplateContainersVolumeMounts | cdktf.IResolvable): any; export declare function cloudRunV2JobTemplateTemplateContainersVolumeMountsToHclTerraform(struct?: CloudRunV2JobTemplateTemplateContainersVolumeMounts | cdktf.IResolvable): any; export declare class CloudRunV2JobTemplateTemplateContainersVolumeMountsOutputReference 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(): CloudRunV2JobTemplateTemplateContainersVolumeMounts | cdktf.IResolvable | undefined; set internalValue(value: CloudRunV2JobTemplateTemplateContainersVolumeMounts | cdktf.IResolvable | undefined); private _mountPath?; get mountPath(): string; set mountPath(value: string); get mountPathInput(): string | undefined; private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; } export declare class CloudRunV2JobTemplateTemplateContainersVolumeMountsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CloudRunV2JobTemplateTemplateContainersVolumeMounts[] | 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): CloudRunV2JobTemplateTemplateContainersVolumeMountsOutputReference; } export interface CloudRunV2JobTemplateTemplateContainers { /** * Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references are not supported in Cloud Run. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#args CloudRunV2Job#args} */ readonly args?: string[]; /** * Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#command CloudRunV2Job#command} */ readonly command?: string[]; /** * URL of the Container image in Google Container Registry or Google Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/images * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#image CloudRunV2Job#image} */ readonly image: string; /** * Name of the container specified as a DNS_LABEL. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#name CloudRunV2Job#name} */ readonly name?: string; /** * Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#working_dir CloudRunV2Job#working_dir} */ readonly workingDir?: string; /** * env block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#env CloudRunV2Job#env} */ readonly env?: CloudRunV2JobTemplateTemplateContainersEnv[] | cdktf.IResolvable; /** * ports block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#ports CloudRunV2Job#ports} */ readonly ports?: CloudRunV2JobTemplateTemplateContainersPorts[] | cdktf.IResolvable; /** * resources block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#resources CloudRunV2Job#resources} */ readonly resources?: CloudRunV2JobTemplateTemplateContainersResources; /** * volume_mounts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#volume_mounts CloudRunV2Job#volume_mounts} */ readonly volumeMounts?: CloudRunV2JobTemplateTemplateContainersVolumeMounts[] | cdktf.IResolvable; } export declare function cloudRunV2JobTemplateTemplateContainersToTerraform(struct?: CloudRunV2JobTemplateTemplateContainers | cdktf.IResolvable): any; export declare function cloudRunV2JobTemplateTemplateContainersToHclTerraform(struct?: CloudRunV2JobTemplateTemplateContainers | cdktf.IResolvable): any; export declare class CloudRunV2JobTemplateTemplateContainersOutputReference 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(): CloudRunV2JobTemplateTemplateContainers | cdktf.IResolvable | undefined; set internalValue(value: CloudRunV2JobTemplateTemplateContainers | cdktf.IResolvable | undefined); private _args?; get args(): string[]; set args(value: string[]); resetArgs(): void; get argsInput(): string[] | undefined; private _command?; get command(): string[]; set command(value: string[]); resetCommand(): void; get commandInput(): string[] | undefined; private _image?; get image(): string; set image(value: string); get imageInput(): string | undefined; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string | undefined; private _workingDir?; get workingDir(): string; set workingDir(value: string); resetWorkingDir(): void; get workingDirInput(): string | undefined; private _env; get env(): CloudRunV2JobTemplateTemplateContainersEnvList; putEnv(value: CloudRunV2JobTemplateTemplateContainersEnv[] | cdktf.IResolvable): void; resetEnv(): void; get envInput(): cdktf.IResolvable | CloudRunV2JobTemplateTemplateContainersEnv[] | undefined; private _ports; get ports(): CloudRunV2JobTemplateTemplateContainersPortsList; putPorts(value: CloudRunV2JobTemplateTemplateContainersPorts[] | cdktf.IResolvable): void; resetPorts(): void; get portsInput(): cdktf.IResolvable | CloudRunV2JobTemplateTemplateContainersPorts[] | undefined; private _resources; get resources(): CloudRunV2JobTemplateTemplateContainersResourcesOutputReference; putResources(value: CloudRunV2JobTemplateTemplateContainersResources): void; resetResources(): void; get resourcesInput(): CloudRunV2JobTemplateTemplateContainersResources | undefined; private _volumeMounts; get volumeMounts(): CloudRunV2JobTemplateTemplateContainersVolumeMountsList; putVolumeMounts(value: CloudRunV2JobTemplateTemplateContainersVolumeMounts[] | cdktf.IResolvable): void; resetVolumeMounts(): void; get volumeMountsInput(): cdktf.IResolvable | CloudRunV2JobTemplateTemplateContainersVolumeMounts[] | undefined; } export declare class CloudRunV2JobTemplateTemplateContainersList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CloudRunV2JobTemplateTemplateContainers[] | 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): CloudRunV2JobTemplateTemplateContainersOutputReference; } export interface CloudRunV2JobTemplateTemplateVolumesCloudSqlInstance { /** * The Cloud SQL instance connection names, as can be found in https://console.cloud.google.com/sql/instances. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run. Format: {project}:{location}:{instance} * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#instances CloudRunV2Job#instances} */ readonly instances?: string[]; } export declare function cloudRunV2JobTemplateTemplateVolumesCloudSqlInstanceToTerraform(struct?: CloudRunV2JobTemplateTemplateVolumesCloudSqlInstanceOutputReference | CloudRunV2JobTemplateTemplateVolumesCloudSqlInstance): any; export declare function cloudRunV2JobTemplateTemplateVolumesCloudSqlInstanceToHclTerraform(struct?: CloudRunV2JobTemplateTemplateVolumesCloudSqlInstanceOutputReference | CloudRunV2JobTemplateTemplateVolumesCloudSqlInstance): any; export declare class CloudRunV2JobTemplateTemplateVolumesCloudSqlInstanceOutputReference 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(): CloudRunV2JobTemplateTemplateVolumesCloudSqlInstance | undefined; set internalValue(value: CloudRunV2JobTemplateTemplateVolumesCloudSqlInstance | undefined); private _instances?; get instances(): string[]; set instances(value: string[]); resetInstances(): void; get instancesInput(): string[] | undefined; } export interface CloudRunV2JobTemplateTemplateVolumesGcs { /** * Name of the cloud storage bucket to back the volume. The resource service account must have permission to access the bucket. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#bucket CloudRunV2Job#bucket} */ readonly bucket: string; /** * If true, mount this volume as read-only in all mounts. If false, mount this volume as read-write. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#read_only CloudRunV2Job#read_only} */ readonly readOnly?: boolean | cdktf.IResolvable; } export declare function cloudRunV2JobTemplateTemplateVolumesGcsToTerraform(struct?: CloudRunV2JobTemplateTemplateVolumesGcsOutputReference | CloudRunV2JobTemplateTemplateVolumesGcs): any; export declare function cloudRunV2JobTemplateTemplateVolumesGcsToHclTerraform(struct?: CloudRunV2JobTemplateTemplateVolumesGcsOutputReference | CloudRunV2JobTemplateTemplateVolumesGcs): any; export declare class CloudRunV2JobTemplateTemplateVolumesGcsOutputReference 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(): CloudRunV2JobTemplateTemplateVolumesGcs | undefined; set internalValue(value: CloudRunV2JobTemplateTemplateVolumesGcs | undefined); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string | undefined; private _readOnly?; get readOnly(): boolean | cdktf.IResolvable; set readOnly(value: boolean | cdktf.IResolvable); resetReadOnly(): void; get readOnlyInput(): boolean | cdktf.IResolvable | undefined; } export interface CloudRunV2JobTemplateTemplateVolumesNfs { /** * Path that is exported by the NFS server. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#path CloudRunV2Job#path} */ readonly path?: string; /** * If true, mount this volume as read-only in all mounts. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#read_only CloudRunV2Job#read_only} */ readonly readOnly?: boolean | cdktf.IResolvable; /** * Hostname or IP address of the NFS server. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#server CloudRunV2Job#server} */ readonly server: string; } export declare function cloudRunV2JobTemplateTemplateVolumesNfsToTerraform(struct?: CloudRunV2JobTemplateTemplateVolumesNfsOutputReference | CloudRunV2JobTemplateTemplateVolumesNfs): any; export declare function cloudRunV2JobTemplateTemplateVolumesNfsToHclTerraform(struct?: CloudRunV2JobTemplateTemplateVolumesNfsOutputReference | CloudRunV2JobTemplateTemplateVolumesNfs): any; export declare class CloudRunV2JobTemplateTemplateVolumesNfsOutputReference 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(): CloudRunV2JobTemplateTemplateVolumesNfs | undefined; set internalValue(value: CloudRunV2JobTemplateTemplateVolumesNfs | undefined); private _path?; get path(): string; set path(value: string); resetPath(): void; get pathInput(): string | undefined; private _readOnly?; get readOnly(): boolean | cdktf.IResolvable; set readOnly(value: boolean | cdktf.IResolvable); resetReadOnly(): void; get readOnlyInput(): boolean | cdktf.IResolvable | undefined; private _server?; get server(): string; set server(value: string); get serverInput(): string | undefined; } export interface CloudRunV2JobTemplateTemplateVolumesSecretItems { /** * Integer octal mode bits to use on this file, must be a value between 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#mode CloudRunV2Job#mode} */ readonly mode?: number; /** * The relative path of the secret in the container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#path CloudRunV2Job#path} */ readonly path: string; /** * The Cloud Secret Manager secret version. Can be 'latest' for the latest value or an integer for a specific version * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#version CloudRunV2Job#version} */ readonly version: string; } export declare function cloudRunV2JobTemplateTemplateVolumesSecretItemsToTerraform(struct?: CloudRunV2JobTemplateTemplateVolumesSecretItems | cdktf.IResolvable): any; export declare function cloudRunV2JobTemplateTemplateVolumesSecretItemsToHclTerraform(struct?: CloudRunV2JobTemplateTemplateVolumesSecretItems | cdktf.IResolvable): any; export declare class CloudRunV2JobTemplateTemplateVolumesSecretItemsOutputReference 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(): CloudRunV2JobTemplateTemplateVolumesSecretItems | cdktf.IResolvable | undefined; set internalValue(value: CloudRunV2JobTemplateTemplateVolumesSecretItems | cdktf.IResolvable | undefined); private _mode?; get mode(): number; set mode(value: number); resetMode(): void; get modeInput(): number | undefined; private _path?; get path(): string; set path(value: string); get pathInput(): string | undefined; private _version?; get version(): string; set version(value: string); get versionInput(): string | undefined; } export declare class CloudRunV2JobTemplateTemplateVolumesSecretItemsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CloudRunV2JobTemplateTemplateVolumesSecretItems[] | 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): CloudRunV2JobTemplateTemplateVolumesSecretItemsOutputReference; } export interface CloudRunV2JobTemplateTemplateVolumesSecret { /** * Integer representation of mode bits to use on created files by default. Must be a value between 0000 and 0777 (octal), defaulting to 0444. Directories within the path are not affected by this setting. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#default_mode CloudRunV2Job#default_mode} */ readonly defaultMode?: number; /** * The name of the secret in Cloud Secret Manager. Format: {secret} if the secret is in the same project. projects/{project}/secrets/{secret} if the secret is in a different project. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#secret CloudRunV2Job#secret} */ readonly secret: string; /** * items block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.4.0/docs/resources/cloud_run_v2_job#items CloudRunV2Job#items} */ readonly items?: CloudRunV2JobTemplateTemplateVolumesSecretItems[] | cdktf.IResolvable; } export declare function cloudRunV2JobTemplateTemplateVolumesSecretToTerraform(struct?: CloudRunV2JobTemplateTemplateVolumesSecretOutputReference | CloudRunV2JobTemplateTemplateVolumes