Interface CloudbuildTriggerConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
CloudbuildTriggerConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.087Z") @Stability(Stable) public interface CloudbuildTriggerConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCloudbuildTriggerConfig.BuilderA builder forCloudbuildTriggerConfigstatic classCloudbuildTriggerConfig.Jsii$ProxyAn implementation forCloudbuildTriggerConfig
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static CloudbuildTriggerConfig.Builderbuilder()default CloudbuildTriggerApprovalConfiggetApprovalConfig()approval_config block.default CloudbuildTriggerBitbucketServerTriggerConfiggetBitbucketServerTriggerConfig()bitbucket_server_trigger_config block.default CloudbuildTriggerBuildgetBuildAttribute()build block.default StringgetDescription()Human-readable description of the trigger.default ObjectgetDisabled()Whether the trigger is disabled or not.default StringgetFilename()Path, from the source root, to a file whose contents is used for the template.default StringgetFilter()A Common Expression Language string.default CloudbuildTriggerGitFileSourcegetGitFileSource()git_file_source block.default CloudbuildTriggerGithubgetGithub()github block.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#id CloudbuildTrigger#id}.default List<String>getIgnoredFiles()ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for '**'.default StringgetIncludeBuildLogs()Build logs will be sent back to GitHub as part of the checkrun result.default List<String>getIncludedFiles()ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for '**'.default StringgetLocation()The Cloud Build location for the trigger.default StringgetName()Name of the trigger.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#project CloudbuildTrigger#project}.default CloudbuildTriggerPubsubConfiggetPubsubConfig()pubsub_config block.default CloudbuildTriggerRepositoryEventConfiggetRepositoryEventConfig()repository_event_config block.default StringgetServiceAccount()The service account used for all user-controlled operations including triggers.patch, triggers.run, builds.create, and builds.cancel.default CloudbuildTriggerSourceToBuildgetSourceToBuild()source_to_build block.default Map<String,String>getSubstitutions()Substitutions data for Build resource.default List<String>getTags()Tags for annotation of a BuildTrigger.default CloudbuildTriggerTimeoutsgetTimeouts()timeouts block.default CloudbuildTriggerTriggerTemplategetTriggerTemplate()trigger_template block.default CloudbuildTriggerWebhookConfiggetWebhookConfig()webhook_config block.
-
-
-
Method Detail
-
getApprovalConfig
@Stability(Stable) @Nullable default CloudbuildTriggerApprovalConfig getApprovalConfig()
approval_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#approval_config CloudbuildTrigger#approval_config}
-
getBitbucketServerTriggerConfig
@Stability(Stable) @Nullable default CloudbuildTriggerBitbucketServerTriggerConfig getBitbucketServerTriggerConfig()
bitbucket_server_trigger_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#bitbucket_server_trigger_config CloudbuildTrigger#bitbucket_server_trigger_config}
-
getBuildAttribute
@Stability(Stable) @Nullable default CloudbuildTriggerBuild getBuildAttribute()
build block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#build CloudbuildTrigger#build}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
Human-readable description of the trigger.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#description CloudbuildTrigger#description}
-
getDisabled
@Stability(Stable) @Nullable default Object getDisabled()
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/5.43.1/docs/resources/cloudbuild_trigger#disabled CloudbuildTrigger#disabled}
-
getFilename
@Stability(Stable) @Nullable default String getFilename()
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/5.43.1/docs/resources/cloudbuild_trigger#filename CloudbuildTrigger#filename}
-
getFilter
@Stability(Stable) @Nullable default String getFilter()
A Common Expression Language string. Used only with Pub/Sub and Webhook.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#filter CloudbuildTrigger#filter}
-
getGitFileSource
@Stability(Stable) @Nullable default CloudbuildTriggerGitFileSource getGitFileSource()
git_file_source block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#git_file_source CloudbuildTrigger#git_file_source}
-
getGithub
@Stability(Stable) @Nullable default CloudbuildTriggerGithub getGithub()
github block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#github CloudbuildTrigger#github}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/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.
-
getIgnoredFiles
@Stability(Stable) @Nullable default List<String> getIgnoredFiles()
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/5.43.1/docs/resources/cloudbuild_trigger#ignored_files CloudbuildTrigger#ignored_files}
-
getIncludeBuildLogs
@Stability(Stable) @Nullable default String getIncludeBuildLogs()
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/5.43.1/docs/resources/cloudbuild_trigger#include_build_logs CloudbuildTrigger#include_build_logs}
-
getIncludedFiles
@Stability(Stable) @Nullable default List<String> getIncludedFiles()
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/5.43.1/docs/resources/cloudbuild_trigger#included_files CloudbuildTrigger#included_files}
-
getLocation
@Stability(Stable) @Nullable default String getLocation()
The Cloud Build location for the trigger. If not specified, "global" is used.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#location CloudbuildTrigger#location}
-
getName
@Stability(Stable) @Nullable default String getName()
Name of the trigger. Must be unique within the project.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#name CloudbuildTrigger#name}
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#project CloudbuildTrigger#project}.
-
getPubsubConfig
@Stability(Stable) @Nullable default CloudbuildTriggerPubsubConfig getPubsubConfig()
pubsub_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#pubsub_config CloudbuildTrigger#pubsub_config}
-
getRepositoryEventConfig
@Stability(Stable) @Nullable default CloudbuildTriggerRepositoryEventConfig getRepositoryEventConfig()
repository_event_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#repository_event_config CloudbuildTrigger#repository_event_config}
-
getServiceAccount
@Stability(Stable) @Nullable default String getServiceAccount()
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/5.43.1/docs/resources/cloudbuild_trigger#service_account CloudbuildTrigger#service_account}
-
getSourceToBuild
@Stability(Stable) @Nullable default CloudbuildTriggerSourceToBuild getSourceToBuild()
source_to_build block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#source_to_build CloudbuildTrigger#source_to_build}
-
getSubstitutions
@Stability(Stable) @Nullable default Map<String,String> getSubstitutions()
Substitutions data for Build resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#substitutions CloudbuildTrigger#substitutions}
-
getTags
@Stability(Stable) @Nullable default List<String> getTags()
Tags for annotation of a BuildTrigger.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#tags CloudbuildTrigger#tags}
-
getTimeouts
@Stability(Stable) @Nullable default CloudbuildTriggerTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#timeouts CloudbuildTrigger#timeouts}
-
getTriggerTemplate
@Stability(Stable) @Nullable default CloudbuildTriggerTriggerTemplate getTriggerTemplate()
trigger_template block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#trigger_template CloudbuildTrigger#trigger_template}
-
getWebhookConfig
@Stability(Stable) @Nullable default CloudbuildTriggerWebhookConfig getWebhookConfig()
webhook_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#webhook_config CloudbuildTrigger#webhook_config}
-
builder
@Stability(Stable) static CloudbuildTriggerConfig.Builder builder()
- Returns:
- a
CloudbuildTriggerConfig.BuilderofCloudbuildTriggerConfig
-
-