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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forListenerProps
static final class
An implementation forListenerProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ListenerProps.Builder
builder()
The accelerator for this listener.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.globalaccelerator.ListenerOptions
getClientAffinity, getListenerName, getPortRanges, getProtocol
-
Method Details
-
getAccelerator
The accelerator for this listener. -
builder
- Returns:
- a
ListenerProps.Builder
ofListenerProps
-