aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
72 lines (71 loc) • 1.91 kB
TypeScript
import * as constructs from "constructs";
import { IEnvironmentAware } from "../environment-aware";
/**
* Indicates that this resource can be referenced as a Application.
*
* @stability experimental
*/
export interface IApplicationRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a Application resource.
*/
readonly applicationRef: ApplicationReference;
}
/**
* A reference to a Application resource.
*
* @struct
* @stability external
*/
export interface ApplicationReference {
/**
* The Id of the Application resource.
*/
readonly applicationId: string;
}
/**
* Indicates that this resource can be referenced as a ApplicationOutput.
*
* @stability experimental
*/
export interface IApplicationOutputRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a ApplicationOutput resource.
*/
readonly applicationOutputRef: ApplicationOutputReference;
}
/**
* A reference to a ApplicationOutput resource.
*
* @struct
* @stability external
*/
export interface ApplicationOutputReference {
/**
* The Id of the ApplicationOutput resource.
*/
readonly applicationOutputId: string;
}
/**
* Indicates that this resource can be referenced as a ApplicationReferenceDataSource.
*
* @stability experimental
*/
export interface IApplicationReferenceDataSourceRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a ApplicationReferenceDataSource resource.
*/
readonly applicationReferenceDataSourceRef: ApplicationReferenceDataSourceReference;
}
/**
* A reference to a ApplicationReferenceDataSource resource.
*
* @struct
* @stability external
*/
export interface ApplicationReferenceDataSourceReference {
/**
* The Id of the ApplicationReferenceDataSource resource.
*/
readonly applicationReferenceDataSourceId: string;
}