Class ClientAffinity
Client affinity gives you control over whether to always route each client to the same specific endpoint.
Inheritance
System.Object
ClientAffinity
Namespace: Amazon.CDK.AWS.GlobalAccelerator
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class ClientAffinity : Enum
Syntax (vb)
Public NotInheritable Class ClientAffinity
Inherits
Enum
Remarks
Synopsis
Fields
NONE | Route traffic based on the 5-tuple |
SOURCE_IP | Route traffic based on the 2-tuple |
value__ |
Fields
NONE
Route traffic based on the 5-tuple (source IP, source port, destination IP, destination port, protocol)
.
public const ClientAffinity NONE
Field Value
Type | Description |
---|---|
ClientAffinity |
SOURCE_IP
Route traffic based on the 2-tuple (source IP, destination IP)
.
public const ClientAffinity SOURCE_IP
Field Value
Type | Description |
---|---|
ClientAffinity |
Remarks
The result is that multiple connections from the same client will be routed the same.
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |