aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
72 lines (71 loc) • 1.8 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 ApplicationName of the Application resource.
*/
readonly applicationName: string;
}
/**
* Indicates that this resource can be referenced as a DeploymentConfig.
*
* @stability experimental
*/
export interface IDeploymentConfigRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a DeploymentConfig resource.
*/
readonly deploymentConfigRef: DeploymentConfigReference;
}
/**
* A reference to a DeploymentConfig resource.
*
* @struct
* @stability external
*/
export interface DeploymentConfigReference {
/**
* The DeploymentConfigName of the DeploymentConfig resource.
*/
readonly deploymentConfigName: string;
}
/**
* Indicates that this resource can be referenced as a DeploymentGroup.
*
* @stability experimental
*/
export interface IDeploymentGroupRef extends constructs.IConstruct, IEnvironmentAware {
/**
* A reference to a DeploymentGroup resource.
*/
readonly deploymentGroupRef: DeploymentGroupReference;
}
/**
* A reference to a DeploymentGroup resource.
*
* @struct
* @stability external
*/
export interface DeploymentGroupReference {
/**
* The Id of the DeploymentGroup resource.
*/
readonly deploymentGroupId: string;
}