@Stability(value=Stable)
public static interface CfnService.ImageRepositoryProperty
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.*;
ImageRepositoryProperty imageRepositoryProperty = ImageRepositoryProperty.builder()
.imageIdentifier("imageIdentifier")
.imageRepositoryType("imageRepositoryType")
// the properties below are optional
.imageConfiguration(ImageConfigurationProperty.builder()
.port("port")
.runtimeEnvironmentVariables(List.of(KeyValuePairProperty.builder()
.name("name")
.value("value")
.build()))
.startCommand("startCommand")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnService.ImageRepositoryProperty.Builder
A builder for
CfnService.ImageRepositoryProperty |
static class |
CfnService.ImageRepositoryProperty.Jsii$Proxy
An implementation for
CfnService.ImageRepositoryProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnService.ImageRepositoryProperty.Builder |
builder() |
default Object |
getImageConfiguration()
Configuration for running the identified image.
|
String |
getImageIdentifier()
The identifier of an image.
|
String |
getImageRepositoryType()
The type of the image repository.
|
@Stability(value=Stable) @NotNull String getImageIdentifier()
For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name. For the image name format, see Pulling an image in the Amazon ECR User Guide .
@Stability(value=Stable) @NotNull String getImageRepositoryType()
This reflects the repository provider and whether the repository is private or public.
@Stability(value=Stable) @Nullable default Object getImageConfiguration()
@Stability(value=Stable) static CfnService.ImageRepositoryProperty.Builder builder()
Copyright © 2022. All rights reserved.