Interface CfnService.ImageRepositoryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnService.ImageRepositoryProperty.Jsii$Proxy
- Enclosing class:
CfnService
@Stability(Stable)
public static interface CfnService.ImageRepositoryProperty
extends software.amazon.jsii.JsiiSerializable
Describes a source image repository.
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")
.runtimeEnvironmentSecrets(List.of(KeyValuePairProperty.builder()
.name("name")
.value("value")
.build()))
.runtimeEnvironmentVariables(List.of(KeyValuePairProperty.builder()
.name("name")
.value("value")
.build()))
.startCommand("startCommand")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnService.ImageRepositoryPropertystatic final classAn implementation forCfnService.ImageRepositoryProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getImageIdentifier
The identifier of an image.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 .
- See Also:
-
getImageRepositoryType
The type of the image repository.This reflects the repository provider and whether the repository is private or public.
- See Also:
-
getImageConfiguration
Configuration for running the identified image.Returns union: either
IResolvableorCfnService.ImageConfigurationProperty- See Also:
-
builder
-