Class BaseNetworkListenerProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.elasticloadbalancingv2.BaseNetworkListenerProps.Jsii$Proxy
All Implemented Interfaces:
BaseNetworkListenerProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
BaseNetworkListenerProps

@Stability(Stable) @Internal public static final class BaseNetworkListenerProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BaseNetworkListenerProps
An implementation for BaseNetworkListenerProps
  • 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

      protected Jsii$Proxy(BaseNetworkListenerProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the BaseNetworkListenerProps.Builder.
  • Method Details

    • getPort

      public final Number getPort()
      Description copied from interface: BaseNetworkListenerProps
      The port on which the listener listens for requests.
      Specified by:
      getPort in interface BaseNetworkListenerProps
    • getAlpnPolicy

      public final AlpnPolicy 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 interface BaseNetworkListenerProps
    • getCertificates

      public final List<IListenerCertificate> 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 interface BaseNetworkListenerProps
    • getDefaultAction

      public final NetworkListenerAction 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 interface BaseNetworkListenerProps
    • getDefaultTargetGroups

      public final List<INetworkTargetGroup> 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 or addAction().

      Cannot be specified together with defaultAction.

      Default: - None.

      Specified by:
      getDefaultTargetGroups in interface BaseNetworkListenerProps
    • getProtocol

      public final Protocol 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 interface BaseNetworkListenerProps
    • getSslPolicy

      public final SslPolicy getSslPolicy()
      Description copied from interface: BaseNetworkListenerProps
      SSL Policy.

      Default: - Current predefined security policy.

      Specified by:
      getSslPolicy in interface BaseNetworkListenerProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object