ListenerProps

class aws_cdk.aws_globalaccelerator.ListenerProps(*, accelerator, port_ranges, client_affinity=None, listener_name=None, protocol=None)

Bases: object

(experimental) construct properties for Listener.

Parameters
  • accelerator (IAccelerator) – (experimental) The accelerator for this listener.

  • port_ranges (List[PortRange]) – (experimental) The list of port ranges for the connections from clients to the accelerator.

  • client_affinity (Optional[ClientAffinity]) – (experimental) Client affinity to direct all requests from a user to the same endpoint. Default: NONE

  • listener_name (Optional[str]) – (experimental) Name of the listener. Default: - logical ID of the resource

  • protocol (Optional[ConnectionProtocol]) – (experimental) The protocol for the connections from clients to the accelerator. Default: TCP

Stability

experimental

Attributes

accelerator

(experimental) The accelerator for this listener.

Stability

experimental

Return type

IAccelerator

client_affinity

(experimental) Client affinity to direct all requests from a user to the same endpoint.

Default

NONE

Stability

experimental

Return type

Optional[ClientAffinity]

listener_name

(experimental) Name of the listener.

Default
  • logical ID of the resource

Stability

experimental

Return type

Optional[str]

port_ranges

(experimental) The list of port ranges for the connections from clients to the accelerator.

Stability

experimental

Return type

List[PortRange]

protocol

(experimental) The protocol for the connections from clients to the accelerator.

Default

TCP

Stability

experimental

Return type

Optional[ConnectionProtocol]