content: /*
   * Copyright The OpenTelemetry Authors
   * SPDX-License-Identifier: Apache-2.0
   */
  
  package io.opentelemetry.javaagent.instrumentation.awssdk.v2_2;
  
  import io.opentelemetry.instrumentation.awssdk.v2_2.AbstractAws2LambdaTest;
  import io.opentelemetry.instrumentation.testing.junit.AgentInstrumentationExtension;
  import io.opentelemetry.instrumentation.testing.junit.InstrumentationExtension;
  import org.junit.jupiter.api.extension.RegisterExtension;
  import software.amazon.awssdk.core.client.config.ClientOverrideConfiguration;
  
  class Aws2LambdaTest extends AbstractAws2LambdaTest {
  
    @RegisterExtension
    private static final AgentInstrumentationExtension testing =
        AgentInstrumentationExtension.create();
  
    @Override
    protected InstrumentationExtension getTesting() {
      return testing;
    }
  
    @Override
    protected boolean canTestLambdaInvoke() {
      // only supported since 2.17.0
      return Boolean.getBoolean("testLatestDeps");
    }
  
    @Override
    protected ClientOverrideConfiguration.Builder createOverrideConfigurationBuilder() {
      return ClientOverrideConfiguration.builder();
    }
  }
  