@Generated(value="jsii-pacmak/0.13.3 (build 3624e0f)", date="2019-07-04T19:44:32.558Z") @Stability(value=Experimental) public abstract class DockerImage extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
|
DockerImage() |
protected |
DockerImage(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
abstract DockerImageConfig |
bind(ISageMakerTask task)
Called when the image is used by a SageMaker task.
|
static DockerImage |
fromAsset(software.amazon.awscdk.core.Construct scope,
String id,
software.amazon.awscdk.services.ecr.assets.DockerImageAssetProps props)
Reference a Docker image that is provided as an Asset in the current app.
|
static DockerImage |
fromEcrRepository(software.amazon.awscdk.services.ecr.IRepository repository)
Reference a Docker image stored in an ECR repository.
|
static DockerImage |
fromEcrRepository(software.amazon.awscdk.services.ecr.IRepository repository,
String tag)
Reference a Docker image stored in an ECR repository.
|
static DockerImage |
fromJsonExpression(String expression)
Reference a Docker image which URI is obtained from the task's input.
|
static DockerImage |
fromJsonExpression(String expression,
Boolean allowAnyEcrImagePull)
Reference a Docker image which URI is obtained from the task's input.
|
static DockerImage |
fromRegistry(String imageUri)
Reference a Docker image by it's URI.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected DockerImage(software.amazon.jsii.JsiiObject.InitializationMode mode)
public DockerImage()
@Stability(value=Experimental) public static DockerImage fromAsset(software.amazon.awscdk.core.Construct scope, String id, software.amazon.awscdk.services.ecr.assets.DockerImageAssetProps props)
scope - the scope in which to create the Asset.id - the ID for the asset in the construct tree.props - the configuration props of the asset.@Stability(value=Experimental) public static DockerImage fromEcrRepository(software.amazon.awscdk.services.ecr.IRepository repository, @Nullable String tag)
repository - the ECR repository where the image is hosted.tag - an optional `tag`.@Stability(value=Experimental) public static DockerImage fromEcrRepository(software.amazon.awscdk.services.ecr.IRepository repository)
repository - the ECR repository where the image is hosted.@Stability(value=Experimental) public static DockerImage fromJsonExpression(String expression, @Nullable Boolean allowAnyEcrImagePull)
expression - the JSON path expression with the task input.allowAnyEcrImagePull - whether ECR access should be permitted (set to `false` if the image will never be in ECR).@Stability(value=Experimental) public static DockerImage fromJsonExpression(String expression)
expression - the JSON path expression with the task input.@Stability(value=Experimental) public static DockerImage fromRegistry(String imageUri)
imageUri - the URI to the docker image.@Stability(value=Experimental) public abstract DockerImageConfig bind(ISageMakerTask task)
Copyright © 2019. All rights reserved.