Interface ListenerProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, ListenerOptions
All Known Implementing Classes:
ListenerProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.533Z") @Stability(Stable) public interface ListenerProps extends software.amazon.jsii.JsiiSerializable, ListenerOptions
Construct properties for 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.globalaccelerator.*;
 Accelerator accelerator;
 ListenerProps listenerProps = ListenerProps.builder()
         .accelerator(accelerator)
         .portRanges(List.of(PortRange.builder()
                 .fromPort(123)
                 // the properties below are optional
                 .toPort(123)
                 .build()))
         // the properties below are optional
         .clientAffinity(ClientAffinity.NONE)
         .listenerName("listenerName")
         .protocol(ConnectionProtocol.TCP)
         .build();