Class BaseApplicationListenerProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class BaseApplicationListenerProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BaseApplicationListenerProps
An implementation for BaseApplicationListenerProps
  • 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(BaseApplicationListenerProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the BaseApplicationListenerProps.Builder.
  • Method Details

    • getCertificates

      public final List<IListenerCertificate> getCertificates()
      Description copied from interface: BaseApplicationListenerProps
      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 BaseApplicationListenerProps
    • getDefaultAction

      public final ListenerAction getDefaultAction()
      Description copied from interface: BaseApplicationListenerProps
      Default action to take for requests to this listener.

      This allows full control of the default action of the load balancer, including Action chaining, fixed responses and redirect responses.

      See the ListenerAction class for all options.

      Cannot be specified together with defaultTargetGroups.

      Default: - None.

      Specified by:
      getDefaultAction in interface BaseApplicationListenerProps
    • getDefaultTargetGroups

      public final List<IApplicationTargetGroup> getDefaultTargetGroups()
      Description copied from interface: BaseApplicationListenerProps
      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 BaseApplicationListenerProps
    • getOpen

      public final Boolean getOpen()
      Description copied from interface: BaseApplicationListenerProps
      Allow anyone to connect to the load balancer on the listener port.

      If this is specified, the load balancer will be opened up to anyone who can reach it. For internal load balancers this is anyone in the same VPC. For public load balancers, this is anyone on the internet.

      If you want to be more selective about who can access this load balancer, set this to false and use the listener's connections object to selectively grant access to the load balancer on the listener port.

      Default: true

      Specified by:
      getOpen in interface BaseApplicationListenerProps
    • getPort

      public final Number getPort()
      Description copied from interface: BaseApplicationListenerProps
      The port on which the listener listens for requests.

      Default: - Determined from protocol if known.

      Specified by:
      getPort in interface BaseApplicationListenerProps
    • getProtocol

      public final ApplicationProtocol getProtocol()
      Description copied from interface: BaseApplicationListenerProps
      The protocol to use.

      Default: - Determined from port if known.

      Specified by:
      getProtocol in interface BaseApplicationListenerProps
    • getSslPolicy

      public final SslPolicy getSslPolicy()
      Description copied from interface: BaseApplicationListenerProps
      The security policy that defines which ciphers and protocols are supported.

      Default: - The current predefined security policy.

      Specified by:
      getSslPolicy in interface BaseApplicationListenerProps
    • $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