26 lines
602 B
TypeScript
26 lines
602 B
TypeScript
import { IEnvironmentAware } from "../environment-aware";
|
|
import * as constructs from "constructs";
|
|
/**
|
|
* Indicates that this resource can be referenced as a Cluster.
|
|
*
|
|
* @stability experimental
|
|
*/
|
|
export interface IClusterRef extends constructs.IConstruct, IEnvironmentAware {
|
|
/**
|
|
* A reference to a Cluster resource.
|
|
*/
|
|
readonly clusterRef: ClusterReference;
|
|
}
|
|
/**
|
|
* A reference to a Cluster resource.
|
|
*
|
|
* @struct
|
|
* @stability external
|
|
*/
|
|
export interface ClusterReference {
|
|
/**
|
|
* The Identifier of the Cluster resource.
|
|
*/
|
|
readonly identifier: string;
|
|
}
|