Class DockerImageAssetLocation
The location of the published docker image.
Inheritance
System.Object
DockerImageAssetLocation
Implements
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DockerImageAssetLocation : Object, IDockerImageAssetLocation
Syntax (vb)
Public Class DockerImageAssetLocation
Inherits Object
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() |
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()
public DockerImageAssetLocation()
Properties
ImageTag
The tag of the image in Amazon ECR.
public string ImageTag { get; set; }
Property Value
System.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
System.String
RepositoryName
The name of the ECR repository.
public string RepositoryName { get; set; }
Property Value
System.String