[Feature]: Add support for AWS Emulator
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with the existing LocalStack module, which the issue names as the model for a new AwsEmulatorContainer module, and with the GenericContainer usage it replaces. Decide how the official AWS Emulator Dockerfile and image are consumed, and how the /__admin/health check, endpoint URL, credentials, truststore helper and default 2 GiB memory limit are exposed. Done means a module with tests that start the container, pass the health check and point an AWS SDK client at it. The issue has no assignee and needs maintainer design input first.
由索引模型根据 Issue 内容生成。
描述
Module
None
Problem
AWS Emulator (released 11 Nov 2026) is an official, free local emulator of AWS APIs. There is currently no Testcontainers module for it. Users must manually build a Docker image from AWS’s Dockerfile, write a custom GenericContainer, and handle the self-signed certificate/truststore required by the AWS SDK for Java. This creates friction for Java teams that already use Testcontainers for integration tests.
Solution
Add a first-class AwsEmulatorContainer module (similar to the existing LocalStack module) that:
- Provides a ready-to-use container (or easy image builder based on the official Dockerfile)
- Includes a health check on /__admin/health
- Exposes helpers for the endpoint URL, credentials, and Java truststore configuration
- Defaults to telemetry off and the recommended 2 GiB memory limit
Links::
GitHub: [github.com/aws/aws-emulator](https://github.com/aws/aws-emulator)
Docs: [docs.aws.amazon.com/emulator](https://docs.aws.amazon.com/emulator/)
Docker getting started: [docs.aws.amazon.com/emulator/latest/userguide/getting-started-docker.html](https://docs.aws.amazon.com/emulator/latest/userguide/getting-started-docker.html)
Announcement: [aws.amazon.com/blogs/aws/test-your-applications-against-aws-locally-with-aws-emulator](https://aws.amazon.com/blogs/aws/test-your-applications-against-aws-locally-with-aws-emulator/)
Benefit
Java teams can start an isolated AWS Emulator instance with a few lines of code, point the AWS SDK at it, and get clean per-test or per-class lifecycle management. This lowers the barrier to adopting the official emulator for local and CI testing, especially as an alternative to LocalStack.
Alternatives
- Continue writing custom GenericContainer subclasses (current state).
- Use the native Linux package + process management outside Testcontainers.
- Use LocalStack (requires a token for many services and is not the official AWS emulator).
- Wait for an embedded mode for Java (currently only available for Rust).
Would you like to help contributing this feature?
No
- 主要语言
- Java
- 星标
- 8.8k
- 派生
- 2k
- 平均合并
- 5 天 21 小时
- 30 天内合并 PR
- 15
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
testcontainers/testcontainers-java 的其他 Issue
-
[Bug]: withStartupTimeout() changes the startup timeout of all containers that use the default wait strategy可能已有人在做 @aymenjamaaoui 于 1 天前认领。 未关闭type/bug
难度 2/5 1-3 小时 新手友好度 64/100
testcontainers/testcontainers-java#12171 ·
维护者通常 1 天内回复
-
[Enhancement]: Document why singleton containers are required under Spring's test context caching可能已有人在做 @zakaullah075 于 95 天前认领。 未关闭type/enhancement
难度 1/5 1 小时以内 新手友好度 85/100
testcontainers/testcontainers-java#11967 · 1 条评论 ·
维护者通常 1 天内回复
-
[Bug]: Cannot reuse Selenium BrowserWebDriverContainers under Linux可能已有人在做 @kdelay 于 116 天前认领。 未关闭type/bug
难度 2/5 1-3 小时 新手友好度 78/100
testcontainers/testcontainers-java#11941 ·
维护者通常 1 天内回复
-
[Bug]: DockerDesktopClientProviderStrategy is always applicable可能已有人在做 @seonwooj0810 于 165 天前认领。 未关闭type/bug
难度 2/5 1-3 小时 新手友好度 74/100
testcontainers/testcontainers-java#11829 · 1 条评论 ·
维护者通常 1 天内回复
-
[Enhancement]: cleanup document after removing junit4 support可能已有人在做 @SJvaca30 于 173 天前认领。 未关闭type/enhancement
难度 2/5 1-3 小时 新手友好度 65/100
testcontainers/testcontainers-java#11578 ·
维护者通常 1 天内回复
查看 testcontainers/testcontainers-java 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 75/100
SAP/ai-sdk-java#1206 ·
维护者通常 1 天内回复
-
enhancement good first issue insight-module
难度 2/5 1-3 小时 新手友好度 86/100
sdlc-pro/spring-lens#606 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
apache/cloudstack#14719 ·
维护者通常 1 天内回复
-
quality-assurance
难度 2/5 1-3 小时 新手友好度 62/100
Paul-Austin-Oswego-CSC480-HCI521/gift-app#252 ·
维护者通常 1 天内回复
-
backlog kind/bug
难度 2/5 1-3 小时 新手友好度 83/100
TencentBlueKing/bk-job#4627 ·
维护者通常 1 天内回复