public static final class ApplicationListenerProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApplicationListenerProps
ApplicationListenerProps
ApplicationListenerProps.Builder, ApplicationListenerProps.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.util.List<java.lang.String> |
getCertificateArns()
(deprecated) The certificates to use on this listener.
|
java.util.List<IListenerCertificate> |
getCertificates()
Certificate list of ACM cert ARNs.
|
ListenerAction |
getDefaultAction()
Default action to take for requests to this listener.
|
java.util.List<IApplicationTargetGroup> |
getDefaultTargetGroups()
Default target groups to load balance to.
|
IApplicationLoadBalancer |
getLoadBalancer()
The load balancer to attach this listener to.
|
java.lang.Boolean |
getOpen()
Allow anyone to connect to the load balancer on the listener port.
|
java.lang.Number |
getPort()
The port on which the listener listens for requests.
|
ApplicationProtocol |
getProtocol()
The protocol to use.
|
SslPolicy |
getSslPolicy()
The security policy that defines which ciphers and protocols are supported.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final IApplicationLoadBalancer getLoadBalancer()
ApplicationListenerProps
getLoadBalancer
in interface ApplicationListenerProps
public final java.util.List<java.lang.String> getCertificateArns()
BaseApplicationListenerProps
Default: - No certificates.
getCertificateArns
in interface BaseApplicationListenerProps
public final java.util.List<IListenerCertificate> getCertificates()
BaseApplicationListenerProps
You must provide exactly one certificate if the listener protocol is HTTPS or TLS.
Default: - No certificates.
getCertificates
in interface BaseApplicationListenerProps
public final ListenerAction getDefaultAction()
BaseApplicationListenerProps
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.
getDefaultAction
in interface BaseApplicationListenerProps
public final java.util.List<IApplicationTargetGroup> getDefaultTargetGroups()
BaseApplicationListenerProps
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 BaseApplicationListenerProps
public final java.lang.Boolean getOpen()
BaseApplicationListenerProps
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
getOpen
in interface BaseApplicationListenerProps
public final java.lang.Number getPort()
BaseApplicationListenerProps
Default: - Determined from protocol if known.
getPort
in interface BaseApplicationListenerProps
public final ApplicationProtocol getProtocol()
BaseApplicationListenerProps
Default: - Determined from port if known.
getProtocol
in interface BaseApplicationListenerProps
public final SslPolicy getSslPolicy()
BaseApplicationListenerProps
Default: - The current predefined security policy.
getSslPolicy
in interface BaseApplicationListenerProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()