@Stability(value=Stable) @Internal public static final class NetworkListenerProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NetworkListenerProps
NetworkListenerPropssoftware.amazon.jsii.JsiiObject.InitializationModeNetworkListenerProps.Builder, NetworkListenerProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(NetworkListenerProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
NetworkListenerProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
AlpnPolicy |
getAlpnPolicy()
Application-Layer Protocol Negotiation (ALPN) is a TLS extension that is sent on the initial TLS handshake hello messages.
|
List<IListenerCertificate> |
getCertificates()
Certificate list of ACM cert ARNs.
|
NetworkListenerAction |
getDefaultAction()
Default action to take for requests to this listener.
|
List<INetworkTargetGroup> |
getDefaultTargetGroups()
Default target groups to load balance to.
|
INetworkLoadBalancer |
getLoadBalancer()
The load balancer to attach this listener to.
|
Number |
getPort()
The port on which the listener listens for requests.
|
Protocol |
getProtocol()
Protocol for listener, expects TCP, TLS, UDP, or TCP_UDP.
|
SslPolicy |
getSslPolicy()
SSL Policy.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(NetworkListenerProps.Builder builder)
NetworkListenerProps.Builder.public final INetworkLoadBalancer getLoadBalancer()
NetworkListenerPropsgetLoadBalancer in interface NetworkListenerPropspublic final Number getPort()
BaseNetworkListenerPropsgetPort in interface BaseNetworkListenerPropspublic final AlpnPolicy getAlpnPolicy()
BaseNetworkListenerPropsALPN enables the application layer to negotiate which protocols should be used over a secure connection, such as HTTP/1 and HTTP/2.
Can only be specified together with Protocol TLS.
Default: - None
getAlpnPolicy in interface BaseNetworkListenerPropspublic final List<IListenerCertificate> getCertificates()
BaseNetworkListenerPropsYou must provide exactly one certificate if the listener protocol is HTTPS or TLS.
Default: - No certificates.
getCertificates in interface BaseNetworkListenerPropspublic final NetworkListenerAction getDefaultAction()
BaseNetworkListenerProps
This allows full control of the default Action of the load balancer,
including weighted forwarding. See the NetworkListenerAction class for
all options.
Cannot be specified together with defaultTargetGroups.
Default: - None.
getDefaultAction in interface BaseNetworkListenerPropspublic final List<INetworkTargetGroup> getDefaultTargetGroups()
BaseNetworkListenerProps
All target groups will be load balanced to with equal weight and without
stickiness. For a more complex configuration than that, use
either defaultAction or addAction().
Cannot be specified together with defaultAction.
Default: - None.
getDefaultTargetGroups in interface BaseNetworkListenerPropspublic final Protocol getProtocol()
BaseNetworkListenerPropsDefault: - TLS if certificates are provided. TCP otherwise.
getProtocol in interface BaseNetworkListenerPropspublic final SslPolicy getSslPolicy()
BaseNetworkListenerPropsDefault: - Current predefined security policy.
getSslPolicy in interface BaseNetworkListenerProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.