aws-cdk-lib.aws_globalaccelerator.ClientAffinity

enum ClientAffinity

LanguageType name
.NETAmazon.CDK.AWS.GlobalAccelerator.ClientAffinity
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglobalaccelerator#ClientAffinity
Javasoftware.amazon.awscdk.services.globalaccelerator.ClientAffinity
Pythonaws_cdk.aws_globalaccelerator.ClientAffinity
TypeScript (source)aws-cdk-lib » aws_globalaccelerator » ClientAffinity

Client affinity gives you control over whether to always route each client to the same specific endpoint.

See also: https://docs.aws.amazon.com/global-accelerator/latest/dg/about-listeners.html#about-listeners-client-affinity

Members

NameDescription
NONERoute traffic based on the 5-tuple (source IP, source port, destination IP, destination port, protocol).
SOURCE_IPRoute traffic based on the 2-tuple (source IP, destination IP).

NONE

Route traffic based on the 5-tuple (source IP, source port, destination IP, destination port, protocol).


SOURCE_IP

Route traffic based on the 2-tuple (source IP, destination IP).

The result is that multiple connections from the same client will be routed the same.