Interface ApplicationListenerProps
- All Superinterfaces:
BaseApplicationListenerProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ApplicationListenerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.174Z")
@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; ApplicationListenerProps applicationListenerProps = ApplicationListenerProps.builder() .loadBalancer(applicationLoadBalancer) // the properties below are optional .certificateArns(List.of("certificateArns")) .certificates(List.of(listenerCertificate)) .defaultAction(listenerAction) .defaultTargetGroups(List.of(applicationTargetGroup)) .open(false) .port(123) .protocol(ApplicationProtocol.HTTP) .sslPolicy(SslPolicy.RECOMMENDED) .build();
-
Nested Class Summary
Nested ClassesModifier 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
getCertificateArns, getCertificates, getDefaultAction, getDefaultTargetGroups, 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
-