@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.055Z") @Stability(value=Stable) public interface ApplicationListenerProps extends software.amazon.jsii.JsiiSerializable, BaseApplicationListenerProps
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
.certificates(List.of(listenerCertificate))
.defaultAction(listenerAction)
.defaultTargetGroups(List.of(applicationTargetGroup))
.open(false)
.port(123)
.protocol(ApplicationProtocol.HTTP)
.sslPolicy(SslPolicy.RECOMMENDED_TLS)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ApplicationListenerProps.Builder
A builder for
ApplicationListenerProps |
static class |
ApplicationListenerProps.Jsii$Proxy
An implementation for
ApplicationListenerProps |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationListenerProps.Builder |
builder() |
IApplicationLoadBalancer |
getLoadBalancer()
The load balancer to attach this listener to.
|
getCertificates, getDefaultAction, getDefaultTargetGroups, getOpen, getPort, getProtocol, getSslPolicy@Stability(value=Stable) @NotNull IApplicationLoadBalancer getLoadBalancer()
@Stability(value=Stable) static ApplicationListenerProps.Builder builder()
builder in interface BaseApplicationListenerPropsApplicationListenerProps.Builder of ApplicationListenerPropsCopyright © 2022. All rights reserved.