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