Interface ContainerDistribution
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ContainerDistribution.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:34.455Z")
@Stability(Experimental)
public interface ContainerDistribution
extends software.amazon.jsii.JsiiSerializable
(experimental) The regional distribution settings to use for a container build.
Example:
IRepository ecrRepository = Repository.fromRepositoryName(this, "ECRRepository", "my-repo");
Repository containerRepository = Repository.fromEcr(ecrRepository);
DistributionConfiguration containerDistributionConfiguration = new DistributionConfiguration(this, "ContainerDistributionConfiguration");
containerDistributionConfiguration.addContainerDistributions(ContainerDistribution.builder()
.containerRepository(containerRepository)
.containerDescription("Test container image")
.containerTags(List.of("latest", "latest-1.0"))
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forContainerDistributionstatic final classAn implementation forContainerDistribution -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default String(experimental) The description of the container image.(experimental) The destination repository to distribute the output container to.(experimental) The additional tags to apply to the distributed container images.default String(experimental) The target region to distribute containers to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContainerRepository
(experimental) The destination repository to distribute the output container to.Default: The target repository in the container recipe is used
-
getContainerDescription
(experimental) The description of the container image.Default: None
-
getContainerTags
(experimental) The additional tags to apply to the distributed container images.Default: None
-
getRegion
(experimental) The target region to distribute containers to.Default: The current region is used
-
builder
- Returns:
- a
ContainerDistribution.BuilderofContainerDistribution
-