Interface ApplicationListenerProps
- All Superinterfaces:
BaseApplicationListenerProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ApplicationListenerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:55:58.319Z")
@Stability(Stable)
public interface ApplicationListenerProps
extends software.amazon.jsii.JsiiSerializable, BaseApplicationListenerProps
Properties for defining a standalone ApplicationListener.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.elasticloadbalancingv2.*; ApplicationLoadBalancer applicationLoadBalancer; ApplicationTargetGroup applicationTargetGroup; ListenerAction listenerAction; ListenerCertificate listenerCertificate; TrustStore trustStore; ApplicationListenerProps applicationListenerProps = ApplicationListenerProps.builder() .loadBalancer(applicationLoadBalancer) // the properties below are optional .certificates(List.of(listenerCertificate)) .defaultAction(listenerAction) .defaultTargetGroups(List.of(applicationTargetGroup)) .mutualAuthentication(MutualAuthentication.builder() .ignoreClientCertificateExpiry(false) .mutualAuthenticationMode(MutualAuthenticationMode.OFF) .trustStore(trustStore) .build()) .open(false) .port(123) .protocol(ApplicationProtocol.HTTP) .sslPolicy(SslPolicy.RECOMMENDED_TLS) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forApplicationListenerProps
static final class
An implementation forApplicationListenerProps
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.BaseApplicationListenerProps
getCertificates, getDefaultAction, getDefaultTargetGroups, getMutualAuthentication, getOpen, getPort, getProtocol, getSslPolicy
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLoadBalancer
The load balancer to attach this listener to. -
builder
- Returns:
- a
ApplicationListenerProps.Builder
ofApplicationListenerProps
-