Class NetworkListenerProps.Jsii$Proxy
- All Implemented Interfaces:
BaseNetworkListenerProps
,NetworkListenerProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- NetworkListenerProps
NetworkListenerProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListenerProps
NetworkListenerProps.Builder, NetworkListenerProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(NetworkListenerProps.Builder builder) Constructor that initializes the object based on literal property values passed by theNetworkListenerProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final AlpnPolicy
Application-Layer Protocol Negotiation (ALPN) is a TLS extension that is sent on the initial TLS handshake hello messages.final List<IListenerCertificate>
Certificate list of ACM cert ARNs.final NetworkListenerAction
Default action to take for requests to this listener.final List<INetworkTargetGroup>
Default target groups to load balance to.final INetworkLoadBalancer
The load balancer to attach this listener to.final Number
getPort()
The port on which the listener listens for requests.final Protocol
Protocol for listener, expects TCP, TLS, UDP, or TCP_UDP.final SslPolicy
SSL Policy.final Duration
The load balancer TCP idle timeout.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theNetworkListenerProps.Builder
.
-
-
Method Details
-
getLoadBalancer
Description copied from interface:NetworkListenerProps
The load balancer to attach this listener to.- Specified by:
getLoadBalancer
in interfaceNetworkListenerProps
-
getPort
Description copied from interface:BaseNetworkListenerProps
The port on which the listener listens for requests.- Specified by:
getPort
in interfaceBaseNetworkListenerProps
-
getAlpnPolicy
Description copied from interface:BaseNetworkListenerProps
Application-Layer Protocol Negotiation (ALPN) is a TLS extension that is sent on the initial TLS handshake hello messages.ALPN 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
- Specified by:
getAlpnPolicy
in interfaceBaseNetworkListenerProps
-
getCertificates
Description copied from interface:BaseNetworkListenerProps
Certificate list of ACM cert ARNs.You must provide exactly one certificate if the listener protocol is HTTPS or TLS.
Default: - No certificates.
- Specified by:
getCertificates
in interfaceBaseNetworkListenerProps
-
getDefaultAction
Description copied from interface:BaseNetworkListenerProps
Default action to take for requests to this listener.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.
- Specified by:
getDefaultAction
in interfaceBaseNetworkListenerProps
-
getDefaultTargetGroups
Description copied from interface:BaseNetworkListenerProps
Default target groups to load balance to.All target groups will be load balanced to with equal weight and without stickiness. For a more complex configuration than that, use either
defaultAction
oraddAction()
.Cannot be specified together with
defaultAction
.Default: - None.
- Specified by:
getDefaultTargetGroups
in interfaceBaseNetworkListenerProps
-
getProtocol
Description copied from interface:BaseNetworkListenerProps
Protocol for listener, expects TCP, TLS, UDP, or TCP_UDP.Default: - TLS if certificates are provided. TCP otherwise.
- Specified by:
getProtocol
in interfaceBaseNetworkListenerProps
-
getSslPolicy
Description copied from interface:BaseNetworkListenerProps
SSL Policy.Default: - Current predefined security policy.
- Specified by:
getSslPolicy
in interfaceBaseNetworkListenerProps
-
getTcpIdleTimeout
Description copied from interface:BaseNetworkListenerProps
The load balancer TCP idle timeout.Default: Duration.seconds(350)
- Specified by:
getTcpIdleTimeout
in interfaceBaseNetworkListenerProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-