ports

@JvmName(name = "txierhcueqlixcar")
suspend fun ports(value: Output<ServiceTemplateContainerPortsArgs>)
@JvmName(name = "uqtwwqumajicnqmj")
suspend fun ports(value: ServiceTemplateContainerPortsArgs?)

Parameters

value

List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on Structure is documented below.


@JvmName(name = "yoewdwniohtkfpys")
suspend fun ports(argument: suspend ServiceTemplateContainerPortsArgsBuilder.() -> Unit)

Parameters

argument

List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on Structure is documented below.