Interface Aws2TestEnvCustomizer


public interface Aws2TestEnvCustomizer
An SPI to allow individual AWS 2 test modules to customize the Aws2TestResource. At the same time, this SPI should allow running the AWS 2 test modules both isolated and merged together.
  • Method Details

    • localstackServices

      org.testcontainers.containers.localstack.LocalStackContainer.Service[] localstackServices()
      Returns:
      an array of services the Localstack container should expose
    • exportCredentialsForLocalstackServices

      default org.testcontainers.containers.localstack.LocalStackContainer.Service[] exportCredentialsForLocalstackServices()
      Returns:
      an array of Localstack services for which Aws2TestEnvContext should export credentials properties
    • customize

      void customize(Aws2TestEnvContext envContext)
      Customize the given Aws2TestEnvContext
      Parameters:
      envContext - the Aws2TestEnvContext to customize