30 lines
726 B
TypeScript
30 lines
726 B
TypeScript
import { IEnvironmentAware } from "../environment-aware";
|
|
import * as constructs from "constructs";
|
|
/**
|
|
* 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 Id of the Environment resource.
|
|
*/
|
|
readonly environmentId: string;
|
|
/**
|
|
* The ARN of the Environment resource.
|
|
*/
|
|
readonly environmentArn: string;
|
|
}
|