Class CloudRunV2ServiceTemplateContainersResources.Jsii$Proxy

    • Method Detail

      • getCpuIdle

        public final Object getCpuIdle()
        Description copied from interface: CloudRunV2ServiceTemplateContainersResources
        Determines whether CPU is only allocated during requests.

        True by default if the parent 'resources' field is not set. However, if 'resources' is set, this field must be explicitly set to true to preserve the default behavior. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#cpu_idle CloudRunV2Service#cpu_idle}

        Specified by:
        getCpuIdle in interface CloudRunV2ServiceTemplateContainersResources
      • getLimits

        public final Map<String,​String> getLimits()
        Description copied from interface: CloudRunV2ServiceTemplateContainersResources
        Only memory and CPU are supported.

        Use key 'cpu' for CPU limit and 'memory' for memory limit. Note: The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#limits CloudRunV2Service#limits}

        Specified by:
        getLimits in interface CloudRunV2ServiceTemplateContainersResources
      • getStartupCpuBoost

        public final Object getStartupCpuBoost()
        Description copied from interface: CloudRunV2ServiceTemplateContainersResources
        Determines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#startup_cpu_boost CloudRunV2Service#startup_cpu_boost}

        Specified by:
        getStartupCpuBoost in interface CloudRunV2ServiceTemplateContainersResources
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object