@Bean
  @Profile("!test")
  public LambdaAsyncClient lambdaClient() {
    // add trace ID to downstream calls, for X-Ray integration
    ClientOverrideConfiguration configuration =
        ClientOverrideConfiguration.builder()
            .addAdditionalHttpHeader("X-Amzn-Trace-Id", traceId)
            .build();

    return LambdaAsyncClient.builder().overrideConfiguration(configuration).build();
  }
The X-Ray Trace ID provided by the Lambda runtime environment.
scheduling-manager/src/main/java/com/amazonaws/blox/scheduling/SchedulingApplication.java