@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.151Z") @Stability(value=Experimental) public enum ClientAffinity extends Enum<ClientAffinity>
https://docs.aws.amazon.com/global-accelerator/latest/dg/about-listeners.html#about-listeners-client-affinity| Enum Constant and Description |
|---|
NONE
(experimental) Route traffic based on the 5-tuple `(source IP, source port, destination IP, destination port, protocol)`.
|
SOURCE_IP
(experimental) Route traffic based on the 2-tuple `(source IP, destination IP)`.
|
| Modifier and Type | Method and Description |
|---|---|
static ClientAffinity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientAffinity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final ClientAffinity NONE
@Stability(value=Experimental) public static final ClientAffinity SOURCE_IP
The result is that multiple connections from the same client will be routed the same.
public static ClientAffinity[] values()
for (ClientAffinity c : ClientAffinity.values()) System.out.println(c);
public static ClientAffinity valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.