aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
49 lines (48 loc) • 1.13 kB
TypeScript
import * as constructs from "constructs";
import { IEnvironmentAware } from "../environment-aware";
/**
* Indicates that this resource can be referenced as a App.
*
* @stability experimental
*/
export interface IAppRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a App resource.
*/
readonly appRef: AppReference;
}
/**
* A reference to a App resource.
*
* @struct
* @stability external
*/
export interface AppReference {
/**
* The AppArn of the App resource.
*/
readonly appArn: string;
}
/**
* Indicates that this resource can be referenced as a ResiliencyPolicy.
*
* @stability experimental
*/
export interface IResiliencyPolicyRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a ResiliencyPolicy resource.
*/
readonly resiliencyPolicyRef: ResiliencyPolicyReference;
}
/**
* A reference to a ResiliencyPolicy resource.
*
* @struct
* @stability external
*/
export interface ResiliencyPolicyReference {
/**
* The PolicyArn of the ResiliencyPolicy resource.
*/
readonly policyArn: string;
}