Interface CloudRunV2ServiceTemplateContainersPorts

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

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.005Z")
    @Stability(Stable)
    public interface CloudRunV2ServiceTemplateContainersPorts
    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 TCP port number, 0 < containerPort < 65536.

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

      • getName

        @Stability(Stable)
        @Nullable
        default String getName()
        If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".

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