Interface CfnLoadBalancer.ListenersProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLoadBalancer.ListenersProperty.Jsii$Proxy
Enclosing class:
CfnLoadBalancer

@Stability(Stable) public static interface CfnLoadBalancer.ListenersProperty extends software.amazon.jsii.JsiiSerializable
Specifies a listener for your Classic Load Balancer.

Modifying any property replaces the listener.

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.elasticloadbalancing.*;
 ListenersProperty listenersProperty = ListenersProperty.builder()
         .instancePort("instancePort")
         .loadBalancerPort("loadBalancerPort")
         .protocol("protocol")
         // the properties below are optional
         .instanceProtocol("instanceProtocol")
         .policyNames(List.of("policyNames"))
         .sslCertificateId("sslCertificateId")
         .build();
 

See Also: