aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
30 lines (29 loc) • 730 B
TypeScript
import * as constructs from "constructs";
import { IEnvironmentAware } from "../environment-aware";
/**
* Indicates that this resource can be referenced as a Environment.
*
* @stability experimental
*/
export interface IEnvironmentRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Environment resource.
*/
readonly environmentRef: EnvironmentReference;
}
/**
* A reference to a Environment resource.
*
* @struct
* @stability external
*/
export interface EnvironmentReference {
/**
* The Name of the Environment resource.
*/
readonly environmentName: string;
/**
* The ARN of the Environment resource.
*/
readonly environmentArn: string;
}