aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
30 lines (29 loc) • 715 B
TypeScript
import * as constructs from "constructs";
import { IEnvironmentAware } from "../environment-aware";
/**
* Indicates that this resource can be referenced as a Container.
*
* @stability experimental
*/
export interface IContainerRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Container resource.
*/
readonly containerRef: ContainerReference;
}
/**
* A reference to a Container resource.
*
* @struct
* @stability external
*/
export interface ContainerReference {
/**
* The Id of the Container resource.
*/
readonly containerId: string;
/**
* The ContainerName of the Container resource.
*/
readonly containerName: string;
}