Interface CloudbuildTriggerBuildOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudbuildTriggerBuildOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.069Z") @Stability(Stable) public interface CloudbuildTriggerBuildOptions extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCloudbuildTriggerBuildOptions.BuilderA builder forCloudbuildTriggerBuildOptionsstatic classCloudbuildTriggerBuildOptions.Jsii$ProxyAn implementation forCloudbuildTriggerBuildOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static CloudbuildTriggerBuildOptions.Builderbuilder()default NumbergetDiskSizeGb()Requested disk size for the VM that runs the build.default ObjectgetDynamicSubstitutions()Option to specify whether or not to apply bash style string operations to the substitutions.default List<String>getEnv()A list of global environment variable definitions that will exist for all build steps in this build.default StringgetLogging()Option to specify the logging mode, which determines if and where build logs are stored.default StringgetLogStreamingOption()Option to define build log streaming behavior to Google Cloud Storage.default StringgetMachineType()Compute Engine machine type on which to run the build.default StringgetRequestedVerifyOption()Requested verifiability options.default List<String>getSecretEnv()A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key.default List<String>getSourceProvenanceHash()Requested hash for SourceProvenance.default StringgetSubstitutionOption()Option to specify behavior when there is an error in the substitution checks.default ObjectgetVolumes()volumes block.default StringgetWorkerPool()Option to specify a WorkerPool for the build.
-
-
-
Method Detail
-
getDiskSizeGb
@Stability(Stable) @Nullable default Number getDiskSizeGb()
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/5.43.1/docs/resources/cloudbuild_trigger#disk_size_gb CloudbuildTrigger#disk_size_gb}
-
getDynamicSubstitutions
@Stability(Stable) @Nullable default Object getDynamicSubstitutions()
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/5.43.1/docs/resources/cloudbuild_trigger#dynamic_substitutions CloudbuildTrigger#dynamic_substitutions}
-
getEnv
@Stability(Stable) @Nullable default List<String> getEnv()
A list of global environment variable definitions that will exist for all build steps in this build.If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#env CloudbuildTrigger#env}
-
getLogging
@Stability(Stable) @Nullable default String getLogging()
Option to specify the logging mode, which determines if and where build logs are stored.Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#logging CloudbuildTrigger#logging}
-
getLogStreamingOption
@Stability(Stable) @Nullable default String getLogStreamingOption()
Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#log_streaming_option CloudbuildTrigger#log_streaming_option}
-
getMachineType
@Stability(Stable) @Nullable default String getMachineType()
Compute Engine machine type on which to run the build.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#machine_type CloudbuildTrigger#machine_type}
-
getRequestedVerifyOption
@Stability(Stable) @Nullable default String getRequestedVerifyOption()
Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#requested_verify_option CloudbuildTrigger#requested_verify_option}
-
getSecretEnv
@Stability(Stable) @Nullable default List<String> getSecretEnv()
A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key.These values must be specified in the build's Secret. These variables will be available to all build steps in this build. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#secret_env CloudbuildTrigger#secret_env}
-
getSourceProvenanceHash
@Stability(Stable) @Nullable default List<String> getSourceProvenanceHash()
Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#source_provenance_hash CloudbuildTrigger#source_provenance_hash}
-
getSubstitutionOption
@Stability(Stable) @Nullable default String getSubstitutionOption()
Option to specify behavior when there is an error in the substitution checks.NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. Possible values: ["MUST_MATCH", "ALLOW_LOOSE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#substitution_option CloudbuildTrigger#substitution_option}
-
getVolumes
@Stability(Stable) @Nullable default Object getVolumes()
volumes block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#volumes CloudbuildTrigger#volumes}
-
getWorkerPool
@Stability(Stable) @Nullable default String getWorkerPool()
Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}.This field is experimental. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#worker_pool CloudbuildTrigger#worker_pool}
-
builder
@Stability(Stable) static CloudbuildTriggerBuildOptions.Builder builder()
-
-