@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.805Z") @Stability(value=Experimental) public interface LoadBalancerTargetOptions extends software.amazon.jsii.JsiiSerializable
The port mapping for it must already have been created through addPortMapping().
| Modifier and Type | Interface and Description |
|---|---|
static class |
LoadBalancerTargetOptions.Builder
A builder for
LoadBalancerTargetOptions |
static class |
LoadBalancerTargetOptions.Jsii$Proxy
An implementation for
LoadBalancerTargetOptions |
| Modifier and Type | Method and Description |
|---|---|
static LoadBalancerTargetOptions.Builder |
builder() |
String |
getContainerName()
(experimental) The name of the container.
|
default Number |
getContainerPort()
(experimental) The port number of the container.
|
default Protocol |
getProtocol()
(experimental) The protocol used for the port mapping.
|
@Stability(value=Experimental) @NotNull String getContainerName()
@Stability(value=Experimental) @Nullable default Number getContainerPort()
Only applicable when using application/network load balancers.
Default: - Container port of the first added port mapping.
@Stability(value=Experimental) @Nullable default Protocol getProtocol()
Only applicable when using application load balancers.
Default: Protocol.TCP
@Stability(value=Experimental) static LoadBalancerTargetOptions.Builder builder()
LoadBalancerTargetOptions.Builder of LoadBalancerTargetOptionsCopyright © 2021. All rights reserved.