Class EcrProps
(experimental) Properties of the image repository for Source.fromEcr()
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.AWS.AppRunner.dll
Syntax (csharp)
public class EcrProps : Object, IEcrProps
Syntax (vb)
Public Class EcrProps
Inherits Object
Implements IEcrProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.ECR;
new Service(this, "Service", new ServiceProps {
Source = Source.FromEcr(new EcrProps {
ImageConfiguration = new ImageConfiguration { Port = 80 },
Repository = Repository.FromRepositoryName(this, "NginxRepository", "nginx"),
TagOrDigest = "latest"
})
});
Synopsis
Constructors
EcrProps() |
Properties
ImageConfiguration | (experimental) The image configuration for the image from ECR. |
Repository | (experimental) Represents the ECR repository. |
Tag | (deprecated) Image tag. |
TagOrDigest | (experimental) Image tag or digest (digests must start with |
Constructors
EcrProps()
public EcrProps()
Properties
ImageConfiguration
(experimental) The image configuration for the image from ECR.
public IImageConfiguration ImageConfiguration { get; set; }
Property Value
Remarks
Default: - no image configuration will be passed. The default port
will be 8080.
Stability: Experimental
Repository
(experimental) Represents the ECR repository.
public IRepository Repository { get; set; }
Property Value
Remarks
Stability: Experimental
Tag
(deprecated) Image tag.
public string Tag { get; set; }
Property Value
System.String
Remarks
Default: - 'latest'
Stability: Deprecated
TagOrDigest
(experimental) Image tag or digest (digests must start with sha256:
).
public string TagOrDigest { get; set; }
Property Value
System.String
Remarks
Default: - 'latest'
Stability: Experimental