@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:00.796Z") @Stability(value=Experimental) public interface ImageRepository 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.*;
ImageRepository imageRepository = ImageRepository.builder()
.imageIdentifier("imageIdentifier")
.imageRepositoryType(ImageRepositoryType.ECR_PUBLIC)
// the properties below are optional
.imageConfiguration(ImageConfiguration.builder()
.environment(Map.of(
"environmentKey", "environment"))
.port(123)
.startCommand("startCommand")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ImageRepository.Builder
A builder for
ImageRepository |
static class |
ImageRepository.Jsii$Proxy
An implementation for
ImageRepository |
| Modifier and Type | Method and Description |
|---|---|
static ImageRepository.Builder |
builder() |
default ImageConfiguration |
getImageConfiguration()
(experimental) Configuration for running the identified image.
|
String |
getImageIdentifier()
(experimental) The identifier of the image.
|
ImageRepositoryType |
getImageRepositoryType()
(experimental) The type of the image repository.
|
@Stability(value=Experimental) @NotNull String getImageIdentifier()
For ECR_PUBLIC imageRepositoryType, the identifier domain should
always be public.ecr.aws. For ECR, the pattern should be
([0-9]{12}.dkr.ecr.[a-z\-]+-[0-9]{1}.amazonaws.com\/.*).
@Stability(value=Experimental) @NotNull ImageRepositoryType getImageRepositoryType()
This reflects the repository provider and whether the repository is private or public.
@Stability(value=Experimental) @Nullable default ImageConfiguration getImageConfiguration()
Default: - no image configuration will be passed. The default `port` will be 8080.
@Stability(value=Experimental) static ImageRepository.Builder builder()
ImageRepository.Builder of ImageRepositoryCopyright © 2022. All rights reserved.