ListenerProps

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

Bases: object

__init__(*, accelerator, port_ranges, client_affinity=None, listener_name=None, protocol=None)

construct properties for Listener.

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

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

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

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

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

stability :stability: experimental

Return type

None

Attributes

accelerator

The accelerator for this listener.

stability :stability: experimental

Return type

IAccelerator

client_affinity

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

default :default: NONE

stability :stability: experimental

Return type

Optional[ClientAffinity]

listener_name

Name of the listener.

default :default: - logical ID of the resource

stability :stability: experimental

Return type

Optional[str]

port_ranges

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

stability :stability: experimental

Return type

List[PortRange]

protocol

The protocol for the connections from clients to the accelerator.

default :default: TCP

stability :stability: experimental

Return type

Optional[ConnectionProtocol]