interface ContainerDistribution
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.Alpha.ContainerDistribution |
Go | github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2#ContainerDistribution |
Java | software.amazon.awscdk.services.imagebuilder.alpha.ContainerDistribution |
Python | aws_cdk.aws_imagebuilder_alpha.ContainerDistribution |
TypeScript (source) | @aws-cdk/aws-imagebuilder-alpha ยป ContainerDistribution |
The regional distribution settings to use for a container build.
Example
const ecrRepository = ecr.Repository.fromRepositoryName(this, 'ECRRepository', 'my-repo');
const containerRepository = imagebuilder.Repository.fromEcr(ecrRepository);
const containerDistributionConfiguration = new imagebuilder.DistributionConfiguration(
this,
'ContainerDistributionConfiguration'
);
containerDistributionConfiguration.addContainerDistributions({
containerRepository,
containerDescription: 'Test container image',
containerTags: ['latest', 'latest-1.0']
});
Properties
| Name | Type | Description |
|---|---|---|
| container | Repository | The destination repository to distribute the output container to. |
| container | string | The description of the container image. |
| container | string[] | The additional tags to apply to the distributed container images. |
| region? | string | The target region to distribute containers to. |
containerRepository
Type:
Repository
The destination repository to distribute the output container to.
containerDescription?
Type:
string
(optional, default: None)
The description of the container image.
containerTags?
Type:
string[]
(optional, default: None)
The additional tags to apply to the distributed container images.
region?
Type:
string
(optional, default: The current region is used)
The target region to distribute containers to.

.NET
Go
Java
Python
TypeScript (