Interface Aws2TestEnvCustomizer
-
public interface Aws2TestEnvCustomizerAn SPI to allow individual AWS 2 test modules to customize theAws2TestResource. At the same time, this SPI should allow running the AWS 2 test modules both isolated and merged together.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidcustomize(Aws2TestEnvContext envContext)Customize the givenAws2TestEnvContextdefault org.testcontainers.containers.localstack.LocalStackContainer.Service[]exportCredentialsForLocalstackServices()org.testcontainers.containers.localstack.LocalStackContainer.Service[]localstackServices()
-
-
-
Method Detail
-
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
void customize(Aws2TestEnvContext envContext)
Customize the givenAws2TestEnvContext- Parameters:
envContext- theAws2TestEnvContextto customize
-
-