Interface CloudRunServiceTemplateSpecContainersPorts

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

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

      • getContainerPort

        @Stability(Stable)
        @Nullable
        default Number getContainerPort()
        Port number the container listens on.

        This must be a valid port number (between 1 and 65535). Defaults to "8080". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#container_port CloudRunService#container_port}

      • getName

        @Stability(Stable)
        @Nullable
        default String getName()
        If specified, used to specify which protocol to use.

        Allowed values are "http1" (HTTP/1) and "h2c" (HTTP/2 end-to-end). Defaults to "http1". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#name CloudRunService#name}

      • getProtocol

        @Stability(Stable)
        @Nullable
        default String getProtocol()
        Protocol for port. Must be "TCP". Defaults to "TCP".

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#protocol CloudRunService#protocol}