@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.300Z") @Stability(value=Experimental) public interface ListenerOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ListenerOptions.Builder
A builder for
ListenerOptions |
static class |
ListenerOptions.Jsii$Proxy
An implementation for
ListenerOptions |
| Modifier and Type | Method and Description |
|---|---|
static ListenerOptions.Builder |
builder() |
default ClientAffinity |
getClientAffinity()
(experimental) Client affinity to direct all requests from a user to the same endpoint.
|
default String |
getListenerName()
(experimental) Name of the listener.
|
List<PortRange> |
getPortRanges()
(experimental) The list of port ranges for the connections from clients to the accelerator.
|
default ConnectionProtocol |
getProtocol()
(experimental) The protocol for the connections from clients to the accelerator.
|
@Stability(value=Experimental) @NotNull List<PortRange> getPortRanges()
@Stability(value=Experimental) @Nullable default ClientAffinity getClientAffinity()
If you have stateful applications, client affinity lets you direct all requests from a user to the same endpoint.
By default, each connection from each client is routed to seperate endpoints. Set client affinity to SOURCE_IP to route all connections from a single client to the same endpoint.
Default: ClientAffinity.NONE
@Stability(value=Experimental) @Nullable default String getListenerName()
Default: - logical ID of the resource
@Stability(value=Experimental) @Nullable default ConnectionProtocol getProtocol()
Default: ConnectionProtocol.TCP
@Stability(value=Experimental) static ListenerOptions.Builder builder()
ListenerOptions.Builder of ListenerOptionsCopyright © 2021. All rights reserved.