aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
24 lines (23 loc) • 865 B
TypeScript
import { Construct } from 'constructs';
import { DockerImageAssetOptions } from '../../../aws-ecr-assets';
import { ContainerDefinition } from '../container-definition';
import { ContainerImage, ContainerImageConfig } from '../container-image';
/**
* The properties for building an AssetImage.
*/
export interface AssetImageProps extends DockerImageAssetOptions {
}
/**
* An image that will be built from a local directory with a Dockerfile
*/
export declare class AssetImage extends ContainerImage {
private readonly directory;
private readonly props;
/**
* Constructs a new instance of the AssetImage class.
*
* @param directory The directory containing the Dockerfile
*/
constructor(directory: string, props?: AssetImageProps);
bind(scope: Construct, containerDefinition: ContainerDefinition): ContainerImageConfig;
}