@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.160Z") @Stability(value=Experimental) public class DockerImageAsset extends software.constructs.Construct
The image will be created in build time and uploaded to an ECR repository.
| Modifier and Type | Class and Description |
|---|---|
static class |
DockerImageAsset.Builder
(experimental) A fluent builder for
DockerImageAsset. |
| Modifier | Constructor and Description |
|---|---|
|
DockerImageAsset(software.constructs.Construct scope,
String id,
DockerImageAssetProps props) |
protected |
DockerImageAsset(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
DockerImageAsset(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAssetHash()
(experimental) A hash of this asset, which is available at construction time.
|
String |
getImageUri()
(experimental) The full URI of the image (including a tag).
|
IRepository |
getRepository()
(experimental) Repository where the image is stored.
|
void |
setImageUri(String value)
(experimental) The full URI of the image (including a tag).
|
void |
setRepository(IRepository value)
(experimental) Repository where the image is stored.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected DockerImageAsset(software.amazon.jsii.JsiiObjectRef objRef)
protected DockerImageAsset(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public DockerImageAsset(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
DockerImageAssetProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public String getAssetHash()
As this is a plain string, it can be used in construct IDs in order to enforce creation of a new resource when the content hash has changed.
@Stability(value=Experimental) @NotNull public String getImageUri()
Use this reference to pull the asset.
@Stability(value=Experimental)
public void setImageUri(@NotNull
String value)
Use this reference to pull the asset.
@Stability(value=Experimental) @NotNull public IRepository getRepository()
@Stability(value=Experimental)
public void setRepository(@NotNull
IRepository value)
Copyright © 2021. All rights reserved.