aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
26 lines (25 loc) • 568 B
TypeScript
import * as constructs from "constructs";
import { IEnvironmentAware } from "../environment-aware";
/**
* Indicates that this resource can be referenced as a Rule.
*
* @stability experimental
*/
export interface IRuleRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Rule resource.
*/
readonly ruleRef: RuleReference;
}
/**
* A reference to a Rule resource.
*
* @struct
* @stability external
*/
export interface RuleReference {
/**
* The Arn of the Rule resource.
*/
readonly ruleArn: string;
}