generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructs


@cdklabs/generative-ai-cdk-constructs / ContainerImage

Class: abstract ContainerImage

https://github.com/aws/deep-learning-containers/blob/master/available_images.md

Extended by

Constructors

new ContainerImage()

new ContainerImage(): ContainerImage

Returns

ContainerImage

Methods

bind()

abstract bind(scope, grantable): ContainerImageConfig

Parameters

scope

Construct

grantable

IGrantable

Returns

ContainerImageConfig


fromAsset()

static fromAsset(directory, options): ContainerImage

Parameters

directory

string

options

DockerImageAssetOptions = {}

Returns

ContainerImage


fromEcrRepository()

static fromEcrRepository(repository, tag): ContainerImage

Parameters

repository

IRepository

tag

string = 'latest'

Returns

ContainerImage