UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

891 lines 136 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CloudbuildTriggerConfig extends cdktf.TerraformMetaArguments { /** * Human-readable description of the trigger. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#description CloudbuildTrigger#description} */ readonly description?: string; /** * Whether the trigger is disabled or not. If true, the trigger will never result in a build. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#disabled CloudbuildTrigger#disabled} */ readonly disabled?: boolean | cdktf.IResolvable; /** * Path, from the source root, to a file whose contents is used for the template. * Either a filename or build template must be provided. Set this only when using trigger_template or github. * When using Pub/Sub, Webhook or Manual set the file name using git_file_source instead. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#filename CloudbuildTrigger#filename} */ readonly filename?: string; /** * A Common Expression Language string. Used only with Pub/Sub and Webhook. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#filter CloudbuildTrigger#filter} */ readonly filter?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#id CloudbuildTrigger#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; /** * ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match * extended with support for '**'. * * If ignoredFiles and changed files are both empty, then they are not * used to determine whether or not to trigger a build. * * If ignoredFiles is not empty, then we ignore any files that match any * of the ignored_file globs. If the change has no files that are outside * of the ignoredFiles globs, then we do not trigger a build. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#ignored_files CloudbuildTrigger#ignored_files} */ readonly ignoredFiles?: string[]; /** * Build logs will be sent back to GitHub as part of the checkrun * result. Values can be INCLUDE_BUILD_LOGS_UNSPECIFIED or * INCLUDE_BUILD_LOGS_WITH_STATUS Possible values: ["INCLUDE_BUILD_LOGS_UNSPECIFIED", "INCLUDE_BUILD_LOGS_WITH_STATUS"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#include_build_logs CloudbuildTrigger#include_build_logs} */ readonly includeBuildLogs?: string; /** * ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match * extended with support for '**'. * * If any of the files altered in the commit pass the ignoredFiles filter * and includedFiles is empty, then as far as this filter is concerned, we * should trigger the build. * * If any of the files altered in the commit pass the ignoredFiles filter * and includedFiles is not empty, then we make sure that at least one of * those files matches a includedFiles glob. If not, then we do not trigger * a build. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#included_files CloudbuildTrigger#included_files} */ readonly includedFiles?: string[]; /** * The [Cloud Build location](https://cloud.google.com/build/docs/locations) for the trigger. * If not specified, "global" is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#location CloudbuildTrigger#location} */ readonly location?: string; /** * Name of the trigger. Must be unique within the project. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#name CloudbuildTrigger#name} */ readonly name?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#project CloudbuildTrigger#project} */ readonly project?: string; /** * The service account used for all user-controlled operations including * triggers.patch, triggers.run, builds.create, and builds.cancel. * * If no service account is set, then the standard Cloud Build service account * ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. * * Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL} * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#service_account CloudbuildTrigger#service_account} */ readonly serviceAccount?: string; /** * Substitutions data for Build resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#substitutions CloudbuildTrigger#substitutions} */ readonly substitutions?: { [key: string]: string; }; /** * Tags for annotation of a BuildTrigger * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#tags CloudbuildTrigger#tags} */ readonly tags?: string[]; /** * approval_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#approval_config CloudbuildTrigger#approval_config} */ readonly approvalConfig?: CloudbuildTriggerApprovalConfig; /** * bitbucket_server_trigger_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#bitbucket_server_trigger_config CloudbuildTrigger#bitbucket_server_trigger_config} */ readonly bitbucketServerTriggerConfig?: CloudbuildTriggerBitbucketServerTriggerConfig; /** * build block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#build CloudbuildTrigger#build} */ readonly buildAttribute?: CloudbuildTriggerBuild; /** * git_file_source block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#git_file_source CloudbuildTrigger#git_file_source} */ readonly gitFileSource?: CloudbuildTriggerGitFileSource; /** * github block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#github CloudbuildTrigger#github} */ readonly github?: CloudbuildTriggerGithub; /** * pubsub_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#pubsub_config CloudbuildTrigger#pubsub_config} */ readonly pubsubConfig?: CloudbuildTriggerPubsubConfig; /** * repository_event_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#repository_event_config CloudbuildTrigger#repository_event_config} */ readonly repositoryEventConfig?: CloudbuildTriggerRepositoryEventConfig; /** * source_to_build block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#source_to_build CloudbuildTrigger#source_to_build} */ readonly sourceToBuild?: CloudbuildTriggerSourceToBuild; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#timeouts CloudbuildTrigger#timeouts} */ readonly timeouts?: CloudbuildTriggerTimeouts; /** * trigger_template block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#trigger_template CloudbuildTrigger#trigger_template} */ readonly triggerTemplate?: CloudbuildTriggerTriggerTemplate; /** * webhook_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#webhook_config CloudbuildTrigger#webhook_config} */ readonly webhookConfig?: CloudbuildTriggerWebhookConfig; } export interface CloudbuildTriggerApprovalConfig { /** * Whether or not approval is needed. If this is set on a build, it will become pending when run, * and will need to be explicitly approved to start. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#approval_required CloudbuildTrigger#approval_required} */ readonly approvalRequired?: boolean | cdktf.IResolvable; } export declare function cloudbuildTriggerApprovalConfigToTerraform(struct?: CloudbuildTriggerApprovalConfigOutputReference | CloudbuildTriggerApprovalConfig): any; export declare function cloudbuildTriggerApprovalConfigToHclTerraform(struct?: CloudbuildTriggerApprovalConfigOutputReference | CloudbuildTriggerApprovalConfig): any; export declare class CloudbuildTriggerApprovalConfigOutputReference 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(): CloudbuildTriggerApprovalConfig | undefined; set internalValue(value: CloudbuildTriggerApprovalConfig | undefined); private _approvalRequired?; get approvalRequired(): boolean | cdktf.IResolvable; set approvalRequired(value: boolean | cdktf.IResolvable); resetApprovalRequired(): void; get approvalRequiredInput(): boolean | cdktf.IResolvable | undefined; } export interface CloudbuildTriggerBitbucketServerTriggerConfigPullRequest { /** * Regex of branches to match. * The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#branch CloudbuildTrigger#branch} */ readonly branch: string; /** * Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#comment_control CloudbuildTrigger#comment_control} */ readonly commentControl?: string; /** * If true, branches that do NOT match the git_ref will trigger a build. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex} */ readonly invertRegex?: boolean | cdktf.IResolvable; } export declare function cloudbuildTriggerBitbucketServerTriggerConfigPullRequestToTerraform(struct?: CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference | CloudbuildTriggerBitbucketServerTriggerConfigPullRequest): any; export declare function cloudbuildTriggerBitbucketServerTriggerConfigPullRequestToHclTerraform(struct?: CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference | CloudbuildTriggerBitbucketServerTriggerConfigPullRequest): any; export declare class CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference 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(): CloudbuildTriggerBitbucketServerTriggerConfigPullRequest | undefined; set internalValue(value: CloudbuildTriggerBitbucketServerTriggerConfigPullRequest | undefined); private _branch?; get branch(): string; set branch(value: string); get branchInput(): string | undefined; private _commentControl?; get commentControl(): string; set commentControl(value: string); resetCommentControl(): void; get commentControlInput(): string | undefined; private _invertRegex?; get invertRegex(): boolean | cdktf.IResolvable; set invertRegex(value: boolean | cdktf.IResolvable); resetInvertRegex(): void; get invertRegexInput(): boolean | cdktf.IResolvable | undefined; } export interface CloudbuildTriggerBitbucketServerTriggerConfigPush { /** * Regex of branches to match. Specify only one of branch or tag. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#branch CloudbuildTrigger#branch} */ readonly branch?: string; /** * When true, only trigger a build if the revision regex does NOT match the gitRef regex. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex} */ readonly invertRegex?: boolean | cdktf.IResolvable; /** * Regex of tags to match. Specify only one of branch or tag. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#tag CloudbuildTrigger#tag} */ readonly tag?: string; } export declare function cloudbuildTriggerBitbucketServerTriggerConfigPushToTerraform(struct?: CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference | CloudbuildTriggerBitbucketServerTriggerConfigPush): any; export declare function cloudbuildTriggerBitbucketServerTriggerConfigPushToHclTerraform(struct?: CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference | CloudbuildTriggerBitbucketServerTriggerConfigPush): any; export declare class CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference 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(): CloudbuildTriggerBitbucketServerTriggerConfigPush | undefined; set internalValue(value: CloudbuildTriggerBitbucketServerTriggerConfigPush | undefined); private _branch?; get branch(): string; set branch(value: string); resetBranch(): void; get branchInput(): string | undefined; private _invertRegex?; get invertRegex(): boolean | cdktf.IResolvable; set invertRegex(value: boolean | cdktf.IResolvable); resetInvertRegex(): void; get invertRegexInput(): boolean | cdktf.IResolvable | undefined; private _tag?; get tag(): string; set tag(value: string); resetTag(): void; get tagInput(): string | undefined; } export interface CloudbuildTriggerBitbucketServerTriggerConfig { /** * The Bitbucket server config resource that this trigger config maps to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#bitbucket_server_config_resource CloudbuildTrigger#bitbucket_server_config_resource} */ readonly bitbucketServerConfigResource: string; /** * Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#project_key CloudbuildTrigger#project_key} */ readonly projectKey: string; /** * Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. * For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#repo_slug CloudbuildTrigger#repo_slug} */ readonly repoSlug: string; /** * pull_request block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#pull_request CloudbuildTrigger#pull_request} */ readonly pullRequest?: CloudbuildTriggerBitbucketServerTriggerConfigPullRequest; /** * push block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#push CloudbuildTrigger#push} */ readonly push?: CloudbuildTriggerBitbucketServerTriggerConfigPush; } export declare function cloudbuildTriggerBitbucketServerTriggerConfigToTerraform(struct?: CloudbuildTriggerBitbucketServerTriggerConfigOutputReference | CloudbuildTriggerBitbucketServerTriggerConfig): any; export declare function cloudbuildTriggerBitbucketServerTriggerConfigToHclTerraform(struct?: CloudbuildTriggerBitbucketServerTriggerConfigOutputReference | CloudbuildTriggerBitbucketServerTriggerConfig): any; export declare class CloudbuildTriggerBitbucketServerTriggerConfigOutputReference 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(): CloudbuildTriggerBitbucketServerTriggerConfig | undefined; set internalValue(value: CloudbuildTriggerBitbucketServerTriggerConfig | undefined); private _bitbucketServerConfigResource?; get bitbucketServerConfigResource(): string; set bitbucketServerConfigResource(value: string); get bitbucketServerConfigResourceInput(): string | undefined; private _projectKey?; get projectKey(): string; set projectKey(value: string); get projectKeyInput(): string | undefined; private _repoSlug?; get repoSlug(): string; set repoSlug(value: string); get repoSlugInput(): string | undefined; private _pullRequest; get pullRequest(): CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference; putPullRequest(value: CloudbuildTriggerBitbucketServerTriggerConfigPullRequest): void; resetPullRequest(): void; get pullRequestInput(): CloudbuildTriggerBitbucketServerTriggerConfigPullRequest | undefined; private _push; get push(): CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference; putPush(value: CloudbuildTriggerBitbucketServerTriggerConfigPush): void; resetPush(): void; get pushInput(): CloudbuildTriggerBitbucketServerTriggerConfigPush | undefined; } export interface CloudbuildTriggerBuildArtifactsMavenArtifacts { /** * Maven artifactId value used when uploading the artifact to Artifact Registry. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#artifact_id CloudbuildTrigger#artifact_id} */ readonly artifactId?: string; /** * Maven groupId value used when uploading the artifact to Artifact Registry. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#group_id CloudbuildTrigger#group_id} */ readonly groupId?: string; /** * Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#path CloudbuildTrigger#path} */ readonly path?: string; /** * Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" * * Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#repository CloudbuildTrigger#repository} */ readonly repository?: string; /** * Maven version value used when uploading the artifact to Artifact Registry. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#version CloudbuildTrigger#version} */ readonly version?: string; } export declare function cloudbuildTriggerBuildArtifactsMavenArtifactsToTerraform(struct?: CloudbuildTriggerBuildArtifactsMavenArtifacts | cdktf.IResolvable): any; export declare function cloudbuildTriggerBuildArtifactsMavenArtifactsToHclTerraform(struct?: CloudbuildTriggerBuildArtifactsMavenArtifacts | cdktf.IResolvable): any; export declare class CloudbuildTriggerBuildArtifactsMavenArtifactsOutputReference 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(): CloudbuildTriggerBuildArtifactsMavenArtifacts | cdktf.IResolvable | undefined; set internalValue(value: CloudbuildTriggerBuildArtifactsMavenArtifacts | cdktf.IResolvable | undefined); private _artifactId?; get artifactId(): string; set artifactId(value: string); resetArtifactId(): void; get artifactIdInput(): string | undefined; private _groupId?; get groupId(): string; set groupId(value: string); resetGroupId(): void; get groupIdInput(): string | undefined; private _path?; get path(): string; set path(value: string); resetPath(): void; get pathInput(): string | undefined; private _repository?; get repository(): string; set repository(value: string); resetRepository(): void; get repositoryInput(): string | undefined; private _version?; get version(): string; set version(value: string); resetVersion(): void; get versionInput(): string | undefined; } export declare class CloudbuildTriggerBuildArtifactsMavenArtifactsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CloudbuildTriggerBuildArtifactsMavenArtifacts[] | 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): CloudbuildTriggerBuildArtifactsMavenArtifactsOutputReference; } export interface CloudbuildTriggerBuildArtifactsNpmPackages { /** * Path to the package.json. e.g. workspace/path/to/package * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#package_path CloudbuildTrigger#package_path} */ readonly packagePath?: string; /** * Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" * * Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#repository CloudbuildTrigger#repository} */ readonly repository?: string; } export declare function cloudbuildTriggerBuildArtifactsNpmPackagesToTerraform(struct?: CloudbuildTriggerBuildArtifactsNpmPackages | cdktf.IResolvable): any; export declare function cloudbuildTriggerBuildArtifactsNpmPackagesToHclTerraform(struct?: CloudbuildTriggerBuildArtifactsNpmPackages | cdktf.IResolvable): any; export declare class CloudbuildTriggerBuildArtifactsNpmPackagesOutputReference 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(): CloudbuildTriggerBuildArtifactsNpmPackages | cdktf.IResolvable | undefined; set internalValue(value: CloudbuildTriggerBuildArtifactsNpmPackages | cdktf.IResolvable | undefined); private _packagePath?; get packagePath(): string; set packagePath(value: string); resetPackagePath(): void; get packagePathInput(): string | undefined; private _repository?; get repository(): string; set repository(value: string); resetRepository(): void; get repositoryInput(): string | undefined; } export declare class CloudbuildTriggerBuildArtifactsNpmPackagesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CloudbuildTriggerBuildArtifactsNpmPackages[] | 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): CloudbuildTriggerBuildArtifactsNpmPackagesOutputReference; } export interface CloudbuildTriggerBuildArtifactsObjectsTiming { } export declare function cloudbuildTriggerBuildArtifactsObjectsTimingToTerraform(struct?: CloudbuildTriggerBuildArtifactsObjectsTiming): any; export declare function cloudbuildTriggerBuildArtifactsObjectsTimingToHclTerraform(struct?: CloudbuildTriggerBuildArtifactsObjectsTiming): any; export declare class CloudbuildTriggerBuildArtifactsObjectsTimingOutputReference 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(): CloudbuildTriggerBuildArtifactsObjectsTiming | undefined; set internalValue(value: CloudbuildTriggerBuildArtifactsObjectsTiming | undefined); get endTime(): string; get startTime(): string; } export declare class CloudbuildTriggerBuildArtifactsObjectsTimingList 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): CloudbuildTriggerBuildArtifactsObjectsTimingOutputReference; } export interface CloudbuildTriggerBuildArtifactsObjects { /** * Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". * * Files in the workspace matching any path pattern will be uploaded to Cloud Storage with * this location as a prefix. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#location CloudbuildTrigger#location} */ readonly location?: string; /** * Path globs used to match files in the build's workspace. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#paths CloudbuildTrigger#paths} */ readonly paths?: string[]; } export declare function cloudbuildTriggerBuildArtifactsObjectsToTerraform(struct?: CloudbuildTriggerBuildArtifactsObjectsOutputReference | CloudbuildTriggerBuildArtifactsObjects): any; export declare function cloudbuildTriggerBuildArtifactsObjectsToHclTerraform(struct?: CloudbuildTriggerBuildArtifactsObjectsOutputReference | CloudbuildTriggerBuildArtifactsObjects): any; export declare class CloudbuildTriggerBuildArtifactsObjectsOutputReference 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(): CloudbuildTriggerBuildArtifactsObjects | undefined; set internalValue(value: CloudbuildTriggerBuildArtifactsObjects | undefined); private _location?; get location(): string; set location(value: string); resetLocation(): void; get locationInput(): string | undefined; private _paths?; get paths(): string[]; set paths(value: string[]); resetPaths(): void; get pathsInput(): string[] | undefined; private _timing; get timing(): CloudbuildTriggerBuildArtifactsObjectsTimingList; } export interface CloudbuildTriggerBuildArtifactsPythonPackages { /** * Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#paths CloudbuildTrigger#paths} */ readonly paths?: string[]; /** * Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" * * Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#repository CloudbuildTrigger#repository} */ readonly repository?: string; } export declare function cloudbuildTriggerBuildArtifactsPythonPackagesToTerraform(struct?: CloudbuildTriggerBuildArtifactsPythonPackages | cdktf.IResolvable): any; export declare function cloudbuildTriggerBuildArtifactsPythonPackagesToHclTerraform(struct?: CloudbuildTriggerBuildArtifactsPythonPackages | cdktf.IResolvable): any; export declare class CloudbuildTriggerBuildArtifactsPythonPackagesOutputReference 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(): CloudbuildTriggerBuildArtifactsPythonPackages | cdktf.IResolvable | undefined; set internalValue(value: CloudbuildTriggerBuildArtifactsPythonPackages | cdktf.IResolvable | undefined); private _paths?; get paths(): string[]; set paths(value: string[]); resetPaths(): void; get pathsInput(): string[] | undefined; private _repository?; get repository(): string; set repository(value: string); resetRepository(): void; get repositoryInput(): string | undefined; } export declare class CloudbuildTriggerBuildArtifactsPythonPackagesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CloudbuildTriggerBuildArtifactsPythonPackages[] | 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): CloudbuildTriggerBuildArtifactsPythonPackagesOutputReference; } export interface CloudbuildTriggerBuildArtifacts { /** * A list of images to be pushed upon the successful completion of all build steps. * * The images will be pushed using the builder service account's credentials. * * The digests of the pushed images will be stored in the Build resource's results field. * * If any of the images fail to be pushed, the build is marked FAILURE. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#images CloudbuildTrigger#images} */ readonly images?: string[]; /** * maven_artifacts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#maven_artifacts CloudbuildTrigger#maven_artifacts} */ readonly mavenArtifacts?: CloudbuildTriggerBuildArtifactsMavenArtifacts[] | cdktf.IResolvable; /** * npm_packages block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#npm_packages CloudbuildTrigger#npm_packages} */ readonly npmPackages?: CloudbuildTriggerBuildArtifactsNpmPackages[] | cdktf.IResolvable; /** * objects block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#objects CloudbuildTrigger#objects} */ readonly objects?: CloudbuildTriggerBuildArtifactsObjects; /** * python_packages block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#python_packages CloudbuildTrigger#python_packages} */ readonly pythonPackages?: CloudbuildTriggerBuildArtifactsPythonPackages[] | cdktf.IResolvable; } export declare function cloudbuildTriggerBuildArtifactsToTerraform(struct?: CloudbuildTriggerBuildArtifactsOutputReference | CloudbuildTriggerBuildArtifacts): any; export declare function cloudbuildTriggerBuildArtifactsToHclTerraform(struct?: CloudbuildTriggerBuildArtifactsOutputReference | CloudbuildTriggerBuildArtifacts): any; export declare class CloudbuildTriggerBuildArtifactsOutputReference 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(): CloudbuildTriggerBuildArtifacts | undefined; set internalValue(value: CloudbuildTriggerBuildArtifacts | undefined); private _images?; get images(): string[]; set images(value: string[]); resetImages(): void; get imagesInput(): string[] | undefined; private _mavenArtifacts; get mavenArtifacts(): CloudbuildTriggerBuildArtifactsMavenArtifactsList; putMavenArtifacts(value: CloudbuildTriggerBuildArtifactsMavenArtifacts[] | cdktf.IResolvable): void; resetMavenArtifacts(): void; get mavenArtifactsInput(): cdktf.IResolvable | CloudbuildTriggerBuildArtifactsMavenArtifacts[] | undefined; private _npmPackages; get npmPackages(): CloudbuildTriggerBuildArtifactsNpmPackagesList; putNpmPackages(value: CloudbuildTriggerBuildArtifactsNpmPackages[] | cdktf.IResolvable): void; resetNpmPackages(): void; get npmPackagesInput(): cdktf.IResolvable | CloudbuildTriggerBuildArtifactsNpmPackages[] | undefined; private _objects; get objects(): CloudbuildTriggerBuildArtifactsObjectsOutputReference; putObjects(value: CloudbuildTriggerBuildArtifactsObjects): void; resetObjects(): void; get objectsInput(): CloudbuildTriggerBuildArtifactsObjects | undefined; private _pythonPackages; get pythonPackages(): CloudbuildTriggerBuildArtifactsPythonPackagesList; putPythonPackages(value: CloudbuildTriggerBuildArtifactsPythonPackages[] | cdktf.IResolvable): void; resetPythonPackages(): void; get pythonPackagesInput(): cdktf.IResolvable | CloudbuildTriggerBuildArtifactsPythonPackages[] | undefined; } export interface CloudbuildTriggerBuildAvailableSecretsSecretManager { /** * Environment variable name to associate with the secret. Secret environment * variables must be unique across all of a build's secrets, and must be used * by at least one build step. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#env CloudbuildTrigger#env} */ readonly env: string; /** * Resource name of the SecretVersion. In format: projects/* /secrets/* /versions/* * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#version_name CloudbuildTrigger#version_name} * * Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space. */ readonly versionName: string; } export declare function cloudbuildTriggerBuildAvailableSecretsSecretManagerToTerraform(struct?: CloudbuildTriggerBuildAvailableSecretsSecretManager | cdktf.IResolvable): any; export declare function cloudbuildTriggerBuildAvailableSecretsSecretManagerToHclTerraform(struct?: CloudbuildTriggerBuildAvailableSecretsSecretManager | cdktf.IResolvable): any; export declare class CloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference 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(): CloudbuildTriggerBuildAvailableSecretsSecretManager | cdktf.IResolvable | undefined; set internalValue(value: CloudbuildTriggerBuildAvailableSecretsSecretManager | cdktf.IResolvable | undefined); private _env?; get env(): string; set env(value: string); get envInput(): string | undefined; private _versionName?; get versionName(): string; set versionName(value: string); get versionNameInput(): string | undefined; } export declare class CloudbuildTriggerBuildAvailableSecretsSecretManagerList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CloudbuildTriggerBuildAvailableSecretsSecretManager[] | 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): CloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference; } export interface CloudbuildTriggerBuildAvailableSecrets { /** * secret_manager block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#secret_manager CloudbuildTrigger#secret_manager} */ readonly secretManager: CloudbuildTriggerBuildAvailableSecretsSecretManager[] | cdktf.IResolvable; } export declare function cloudbuildTriggerBuildAvailableSecretsToTerraform(struct?: CloudbuildTriggerBuildAvailableSecretsOutputReference | CloudbuildTriggerBuildAvailableSecrets): any; export declare function cloudbuildTriggerBuildAvailableSecretsToHclTerraform(struct?: CloudbuildTriggerBuildAvailableSecretsOutputReference | CloudbuildTriggerBuildAvailableSecrets): any; export declare class CloudbuildTriggerBuildAvailableSecretsOutputReference 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(): CloudbuildTriggerBuildAvailableSecrets | undefined; set internalValue(value: CloudbuildTriggerBuildAvailableSecrets | undefined); private _secretManager; get secretManager(): CloudbuildTriggerBuildAvailableSecretsSecretManagerList; putSecretManager(value: CloudbuildTriggerBuildAvailableSecretsSecretManager[] | cdktf.IResolvable): void; get secretManagerInput(): cdktf.IResolvable | CloudbuildTriggerBuildAvailableSecretsSecretManager[] | undefined; } export interface CloudbuildTriggerBuildOptionsVolumes { /** * Name of the volume to mount. * * Volume names must be unique per build step and must be valid names for Docker volumes. * Each named volume must be used by at least two build steps. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#name CloudbuildTrigger#name} */ readonly name?: string; /** * Path at which to mount the volume. * * Paths must be absolute and cannot conflict with other volume paths on the same * build step or with certain reserved volume paths. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#path CloudbuildTrigger#path} */ readonly path?: string; } export declare function cloudbuildTriggerBuildOptionsVolumesToTerraform(struct?: CloudbuildTriggerBuildOptionsVolumes | cdktf.IResolvable): any; export declare function cloudbuildTriggerBuildOptionsVolumesToHclTerraform(struct?: CloudbuildTriggerBuildOptionsVolumes | cdktf.IResolvable): any; export declare class CloudbuildTriggerBuildOptionsVolumesOutputReference 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(): CloudbuildTriggerBuildOptionsVolumes | cdktf.IResolvable | undefined; set internalValue(value: CloudbuildTriggerBuildOptionsVolumes | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string | undefined; private _path?; get path(): string; set path(value: string); resetPath(): void; get pathInput(): string | undefined; } export declare class CloudbuildTriggerBuildOptionsVolumesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CloudbuildTriggerBuildOptionsVolumes[] | 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): CloudbuildTriggerBuildOptionsVolumesOutputReference; } export interface CloudbuildTriggerBuildOptions { /** * Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; * some of the space will be used by the operating system and build utilities. * Also note that this is the minimum disk size that will be allocated for the build -- * the build may run with a larger disk than requested. At present, the maximum disk size * is 1000GB; builds that request more than the maximum are rejected with an error. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#disk_size_gb CloudbuildTrigger#disk_size_gb} */ readonly diskSizeGb?: number; /** * Option to specify whether or not to apply bash style string operations to the substitutions. * * NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/cloudbuild_trigger#dynamic_substitutions CloudbuildTrigger#dynamic_substitutions} */ readonly dynamicSubstitutions?: boolean | cdktf.IResolvable; /** * A list of global env