Replicate Image¶
Handler for replicating ECR images between repositories.
ECR image replication handlers.
Provides Lambda handlers for replicating Docker images between ECR repositories.
ImageReplicatorHandler
dataclass
¶
ImageReplicatorHandler()
Bases: LambdaHandler[ReplicateImageRequest, ReplicateImageResponse]
Handler for replicating ECR images between repositories.
Wraps the ECRImageReplicator to provide Lambda integration.
handle ¶
handle(request)
Replicate an ECR image to a target repository.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ReplicateImageRequest
|
Request containing source and target image specifications. |
required |
Returns:
| Type | Description |
|---|---|
ReplicateImageResponse
|
Response containing the replication result. |
Source code in src/aibs_informatics_aws_lambda/handlers/ecr/replicate_image.py
22 23 24 25 26 27 28 29 30 31 32 | |