AwsGlobalacceleratorListenerArgs

interface AwsGlobalacceleratorListenerArgs { clientAffinity?: 'NONE' | 'SOURCE_IP'; endpointGroups: Record<string, AwsGlobalacceleratorEndpointGroupArgs>; portRanges: AwsGlobalacceleratorPortRangeArgs[]; protocol: 'TCP'; }

TCP listener configuration and its regional endpoint groups.

Example

CODE
const listener: AwsGlobalacceleratorListenerArgs = {
  protocol: 'TCP',
  portRanges: [{ fromPort: 443, toPort: 443 }],
  endpointGroups: { euWest1: { region: 'eu-west-1', endpoints: { application: { albName: 'application-alb' } } } },
};

Properties

clientAffinity: 'NONE' | 'SOURCE_IP'

Client affinity mode. Defaults to NONE.

endpointGroups: Record<string, AwsGlobalacceleratorEndpointGroupArgs>

Regional endpoint groups keyed by stable consumer identity.

portRanges: AwsGlobalacceleratorPortRangeArgs[]

One or more inclusive listener port ranges.

protocol: 'TCP'

TCP protocol accepted by the ALB-backed listener.