@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-11T12:53:28.759Z") @Stability(value=Stable) public class RepositoryImage extends ContainerImage
For images hosted in Amazon ECR, see EcrImage.
Modifier and Type | Class and Description |
---|---|
static class |
RepositoryImage.Builder
A fluent builder for
RepositoryImage . |
Modifier | Constructor and Description |
---|---|
protected |
RepositoryImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
RepositoryImage(software.amazon.jsii.JsiiObjectRef objRef) |
|
RepositoryImage(String imageName)
Constructs a new instance of the RepositoryImage class.
|
|
RepositoryImage(String imageName,
RepositoryImageProps props)
Constructs a new instance of the RepositoryImage class.
|
Modifier and Type | Method and Description |
---|---|
ContainerImageConfig |
bind(Construct scope,
ContainerDefinition containerDefinition)
Called when the image is used by a ContainerDefinition.
|
fromAsset, fromAsset, fromDockerImageAsset, fromEcrRepository, fromEcrRepository, fromRegistry, fromRegistry
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected RepositoryImage(software.amazon.jsii.JsiiObjectRef objRef)
protected RepositoryImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public RepositoryImage(@NotNull String imageName, @Nullable RepositoryImageProps props)
imageName
- This parameter is required.props
- @Stability(value=Stable) public RepositoryImage(@NotNull String imageName)
imageName
- This parameter is required.@Stability(value=Stable) @NotNull public ContainerImageConfig bind(@NotNull Construct scope, @NotNull ContainerDefinition containerDefinition)
bind
in class ContainerImage
scope
- This parameter is required.containerDefinition
- This parameter is required.Copyright © 2020. All rights reserved.