@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:27.356Z") public interface ListenerProps extends ListenerOptions
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();
Modifier and Type | Interface and Description |
---|---|
static class |
ListenerProps.Builder
A builder for
ListenerProps |
static class |
ListenerProps.Jsii$Proxy
An implementation for
ListenerProps |
Modifier and Type | Method and Description |
---|---|
static ListenerProps.Builder |
builder() |
IAccelerator |
getAccelerator()
The accelerator for this listener.
|
getClientAffinity, getListenerName, getPortRanges, getProtocol
IAccelerator getAccelerator()
static ListenerProps.Builder builder()
builder
in interface ListenerOptions
ListenerProps.Builder
of ListenerProps