Show / Hide Table of Contents

Interface IContainerDistribution

(experimental) The regional distribution settings to use for a container build.

Namespace: Amazon.CDK.AWS.ImageBuilder.Alpha
Assembly: Amazon.CDK.AWS.ImageBuilder.Alpha.dll
Syntax (csharp)
public interface IContainerDistribution
Syntax (vb)
Public Interface IContainerDistribution
Remarks

Stability: Experimental

ExampleMetadata: infused

Examples
var ecrRepository = Repository.FromRepositoryName(this, "ECRRepository", "my-repo");
             var containerRepository = Repository.FromEcr(ecrRepository);
             var containerDistributionConfiguration = new DistributionConfiguration(this, "ContainerDistributionConfiguration");

             containerDistributionConfiguration.AddContainerDistributions(new ContainerDistribution {
                 ContainerRepository = containerRepository,
                 ContainerDescription = "Test container image",
                 ContainerTags = new [] { "latest", "latest-1.0" }
             });

Synopsis

Properties

ContainerDescription

(experimental) The description of the container image.

ContainerRepository

(experimental) The destination repository to distribute the output container to.

ContainerTags

(experimental) The additional tags to apply to the distributed container images.

Region

(experimental) The target region to distribute containers to.

Properties

ContainerDescription

(experimental) The description of the container image.

string? ContainerDescription { get; }
Property Value

string

Remarks

Default: None

Stability: Experimental

ContainerRepository

(experimental) The destination repository to distribute the output container to.

Repository ContainerRepository { get; }
Property Value

Repository

Remarks

Default: The target repository in the container recipe is used

Stability: Experimental

ContainerTags

(experimental) The additional tags to apply to the distributed container images.

string[]? ContainerTags { get; }
Property Value

string[]

Remarks

Default: None

Stability: Experimental

Region

(experimental) The target region to distribute containers to.

string? Region { get; }
Property Value

string

Remarks

Default: The current region is used

Stability: Experimental

Back to top Generated by DocFX