@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:02.853Z") @Stability(value=Experimental) public interface EcrProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apprunner.*;
import software.amazon.awscdk.services.ecr.*;
Repository repository;
EcrProps ecrProps = EcrProps.builder()
.repository(repository)
// the properties below are optional
.imageConfiguration(ImageConfiguration.builder()
.environment(Map.of(
"environmentKey", "environment"))
.port(123)
.startCommand("startCommand")
.build())
.tag("tag")
.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()
(experimental) Image tag.
|
@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=Experimental) @Nullable default String getTag()
Default: - 'latest'
@Stability(value=Experimental) static EcrProps.Builder builder()
EcrProps.Builder of EcrPropsCopyright © 2022. All rights reserved.