Show / Hide Table of Contents

Class DockerImageAssetLocation

The location of the published docker image.

Inheritance
object
DockerImageAssetLocation
Implements
IDockerImageAssetLocation
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DockerImageAssetLocation : IDockerImageAssetLocation
Syntax (vb)
Public Class DockerImageAssetLocation Implements IDockerImageAssetLocation
Remarks

This is where the image can be consumed at runtime.

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK;

             var dockerImageAssetLocation = new DockerImageAssetLocation {
                 ImageUri = "imageUri",
                 RepositoryName = "repositoryName",

                 // the properties below are optional
                 ImageTag = "imageTag"
             };

Synopsis

Constructors

DockerImageAssetLocation()

The location of the published docker image.

Properties

ImageTag

The tag of the image in Amazon ECR.

ImageUri

The URI of the image in Amazon ECR (including a tag).

RepositoryName

The name of the ECR repository.

Constructors

DockerImageAssetLocation()

The location of the published docker image.

public DockerImageAssetLocation()
Remarks

This is where the image can be consumed at runtime.

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK;

             var dockerImageAssetLocation = new DockerImageAssetLocation {
                 ImageUri = "imageUri",
                 RepositoryName = "repositoryName",

                 // the properties below are optional
                 ImageTag = "imageTag"
             };

Properties

ImageTag

The tag of the image in Amazon ECR.

public string? ImageTag { get; set; }
Property Value

string

Remarks

Default: - the hash of the asset, or the dockerTagPrefix concatenated with the asset hash if a dockerTagPrefix is specified in the stack synthesizer

ImageUri

The URI of the image in Amazon ECR (including a tag).

public string ImageUri { get; set; }
Property Value

string

Remarks

This is where the image can be consumed at runtime.

ExampleMetadata: fixture=_generated

RepositoryName

The name of the ECR repository.

public string RepositoryName { get; set; }
Property Value

string

Remarks

This is where the image can be consumed at runtime.

ExampleMetadata: fixture=_generated

Implements

IDockerImageAssetLocation
Back to top Generated by DocFX