Class CloudRunServiceTemplateSpec.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • containerConcurrency

        @Stability(Stable)
        public CloudRunServiceTemplateSpec.Builder containerConcurrency​(Number containerConcurrency)
        Parameters:
        containerConcurrency - ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#container_concurrency CloudRunService#container_concurrency}
        Returns:
        this
      • containers

        @Stability(Stable)
        public CloudRunServiceTemplateSpec.Builder containers​(com.hashicorp.cdktf.IResolvable containers)
        Parameters:
        containers - containers block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#containers CloudRunService#containers}
        Returns:
        this
      • serviceAccountName

        @Stability(Stable)
        public CloudRunServiceTemplateSpec.Builder serviceAccountName​(String serviceAccountName)
        Parameters:
        serviceAccountName - Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#service_account_name CloudRunService#service_account_name}
        Returns:
        this
      • timeoutSeconds

        @Stability(Stable)
        public CloudRunServiceTemplateSpec.Builder timeoutSeconds​(Number timeoutSeconds)
        Parameters:
        timeoutSeconds - TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#timeout_seconds CloudRunService#timeout_seconds}
        Returns:
        this
      • volumes

        @Stability(Stable)
        public CloudRunServiceTemplateSpec.Builder volumes​(com.hashicorp.cdktf.IResolvable volumes)
        Parameters:
        volumes - volumes block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#volumes CloudRunService#volumes}
        Returns:
        this