@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:30:02.116Z") @Stability(value=Experimental) public enum ClientAffinity extends Enum<ClientAffinity>
Client affinity gives you control over whether to always route each client to the same specific endpoint. If you want a given client to always be routed to the same endpoint, set client affinity to SOURCE_IP.
https://docs.aws.amazon.com/global-accelerator/latest/dg/about-listeners.html#about-listeners-client-affinity| Enum Constant and Description |
|---|
NONE
(experimental) default affinity.
|
SOURCE_IP
(experimental) affinity by source 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
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.