@aws-cdk/aws-ecs
Version:
The CDK Construct Library for AWS::ECS
24 lines (23 loc) • 889 B
TypeScript
import { DockerImageAssetOptions } from '@aws-cdk/aws-ecr-assets';
import { ContainerDefinition } from '../container-definition';
import { ContainerImage, ContainerImageConfig } from '../container-image';
import { Construct as CoreConstruct } from '@aws-cdk/core';
/**
* 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: CoreConstruct, containerDefinition: ContainerDefinition): ContainerImageConfig;
}