@Generated(value="jsii-pacmak/1.34.0 (build 9b72778)", date="2021-09-24T22:49:58.409Z") @Stability(value=Stable) public interface ExposeOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ExposeOptions.Builder
A builder for
ExposeOptions |
static class |
ExposeOptions.Jsii$Proxy
An implementation for
ExposeOptions |
| Modifier and Type | Method and Description |
|---|---|
static ExposeOptions.Builder |
builder() |
default String |
getName()
The name of the service to expose.
|
default Protocol |
getProtocol()
The IP protocol for this port.
|
default ServiceType |
getServiceType()
The type of the exposed service.
|
default Number |
getTargetPort()
The port number the service will redirect to.
|
@Stability(value=Stable) @Nullable default String getName()
This will be set on the Service.metadata and must be a DNS_LABEL
Default: undefined Uses the system generated name.
@Stability(value=Stable) @Nullable default Protocol getProtocol()
Supports "TCP", "UDP", and "SCTP". Default is TCP.
Default: Protocol.TCP
@Stability(value=Stable) @Nullable default ServiceType getServiceType()
Default: - ClusterIP.
@Stability(value=Stable) @Nullable default Number getTargetPort()
Default: - The port of the first container in the deployment (ie. containers[0].port)
@Stability(value=Stable) static ExposeOptions.Builder builder()
ExposeOptions.Builder of ExposeOptionsCopyright © 2021. All rights reserved.