Interface CloudbuildWorkerPoolWorkerConfig

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    CloudbuildWorkerPoolWorkerConfig.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.098Z")
    @Stability(Stable)
    public interface CloudbuildWorkerPoolWorkerConfig
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getDiskSizeGb

        @Stability(Stable)
        @Nullable
        default Number getDiskSizeGb()
        Size of the disk attached to the worker, in GB.

        See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). Specify a value of up to 1000. If `0` is specified, Cloud Build will use a standard disk size. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_worker_pool#disk_size_gb CloudbuildWorkerPool#disk_size_gb}

      • getMachineType

        @Stability(Stable)
        @Nullable
        default String getMachineType()
        Machine type of a worker, such as n1-standard-1.

        See [Worker pool config file](https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use `n1-standard-1`. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_worker_pool#machine_type CloudbuildWorkerPool#machine_type}

      • getNoExternalIp

        @Stability(Stable)
        @Nullable
        default Object getNoExternalIp()
        If true, workers are created without any public address, which prevents network egress to public IPs.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_worker_pool#no_external_ip CloudbuildWorkerPool#no_external_ip}