@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:46:44.596Z") @Stability(value=Stable) public enum Tracing extends Enum<Tracing>
| Enum Constant and Description |
|---|
ACTIVE
Lambda will respect any tracing header it receives from an upstream service.
|
DISABLED
Lambda will not trace any request.
|
PASS_THROUGH
Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1".
|
| Modifier and Type | Method and Description |
|---|---|
static Tracing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tracing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final Tracing ACTIVE
If no tracing header is received, Lambda will call X-Ray for a tracing decision.
@Stability(value=Stable) public static final Tracing PASS_THROUGH
@Stability(value=Stable) public static final Tracing DISABLED
public static Tracing[] values()
for (Tracing c : Tracing.values()) System.out.println(c);
public static Tracing 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.