Interface IEcrProps
(experimental) Properties of the image repository for Source.fromEcr()
.
Namespace: Amazon.CDK.AWS.AppRunner.Alpha
Assembly: Amazon.CDK.AWS.AppRunner.Alpha.dll
Syntax (csharp)
public interface IEcrProps
Syntax (vb)
Public Interface 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
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 |
Properties
ImageConfiguration
(experimental) The image configuration for the image from ECR.
virtual IImageConfiguration ImageConfiguration { get; }
Property Value
Remarks
Default: - no image configuration will be passed. The default port
will be 8080.
Stability: Experimental
Repository
(experimental) Represents the ECR repository.
IRepository Repository { get; }
Property Value
Remarks
Stability: Experimental
Tag
(deprecated) Image tag.
virtual string Tag { get; }
Property Value
System.String
Remarks
Default: - 'latest'
Stability: Deprecated
TagOrDigest
(experimental) Image tag or digest (digests must start with sha256:
).
virtual string TagOrDigest { get; }
Property Value
System.String
Remarks
Default: - 'latest'
Stability: Experimental