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 Summary
Modifier and TypeMethodDescriptionvoidcustomize(Aws2TestEnvContext envContext) Customize the givenAws2TestEnvContextdefault org.testcontainers.containers.localstack.LocalStackContainer.Service[]org.testcontainers.containers.localstack.LocalStackContainer.Service[]
-
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
Aws2TestEnvContextshould export credentials properties
-
customize
Customize the givenAws2TestEnvContext- Parameters:
envContext- theAws2TestEnvContextto customize
-