aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
30 lines (29 loc) • 693 B
TypeScript
import * as constructs from "constructs";
import { IEnvironmentAware } from "../environment-aware";
/**
* Indicates that this resource can be referenced as a Monitor.
*
* @stability experimental
*/
export interface IMonitorRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Monitor resource.
*/
readonly monitorRef: MonitorReference;
}
/**
* A reference to a Monitor resource.
*
* @struct
* @stability external
*/
export interface MonitorReference {
/**
* The MonitorName of the Monitor resource.
*/
readonly monitorName: string;
/**
* The ARN of the Monitor resource.
*/
readonly monitorArn: string;
}