[Feature]: Add support for AWS Emulator

Đang mở
#12,159 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
22/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
aws, docker, java
Lĩnh vực
testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

type/feature
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

Ngôn ngữ chính
Java
Star
8.8k
Fork
2k
Merge trung bình
5 ngày 21 giờ
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của testcontainers/testcontainers-java

Tất cả issue của testcontainers/testcontainers-java

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.