@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:24.566Z") @Stability(value=Experimental) public interface EcrProps extends software.amazon.jsii.JsiiSerializable
Example:
import software.amazon.awscdk.core.*;
Service.Builder.create(this, "Service")
.source(Source.fromEcr(EcrProps.builder()
.imageConfiguration(ImageConfiguration.builder().port(80).build())
.repository(Repository.fromRepositoryName(this, "NginxRepository", "nginx"))
.tagOrDigest("latest")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
EcrProps.Builder
A builder for
EcrProps |
static class |
EcrProps.Jsii$Proxy
An implementation for
EcrProps |
| Modifier and Type | Method and Description |
|---|---|
static EcrProps.Builder |
builder() |
default ImageConfiguration |
getImageConfiguration()
(experimental) The image configuration for the image from ECR.
|
IRepository |
getRepository()
(experimental) Represents the ECR repository.
|
default String |
getTag()
Deprecated.
use `tagOrDigest`
|
default String |
getTagOrDigest()
(experimental) Image tag or digest (digests must start with `sha256:`).
|
@Stability(value=Experimental) @NotNull IRepository getRepository()
@Stability(value=Experimental) @Nullable default ImageConfiguration getImageConfiguration()
Default: - no image configuration will be passed. The default `port` will be 8080.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html#cfn-apprunner-service-imageconfiguration-port@Stability(value=Deprecated) @Deprecated @Nullable default String getTag()
Default: - 'latest'
@Stability(value=Experimental) @Nullable default String getTagOrDigest()
Default: - 'latest'
@Stability(value=Experimental) static EcrProps.Builder builder()
EcrProps.Builder of EcrPropsCopyright © 2022. All rights reserved.