UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

35 lines (34 loc) 1.16 kB
import { Construct, IDependable } from 'constructs'; import { ITargetGroup } from './base-target-group'; import * as cdk from '../../../core'; import { aws_elasticloadbalancingv2 } from '../../../interfaces'; /** * Base internal class for existing target groups */ export declare abstract class ImportedTargetGroupBase extends Construct implements ITargetGroup { /** * ARN of the target group */ readonly targetGroupArn: string; /** * A reference to this target group */ get targetGroupRef(): aws_elasticloadbalancingv2.TargetGroupReference; /** * The environment this resource belongs to */ get env(): cdk.ResourceEnvironment; /** * The name of the target group */ readonly targetGroupName: string; /** * A token representing a list of ARNs of the load balancers that route traffic to this target group */ readonly loadBalancerArns: string; /** * Return an object to depend on the listeners added to this target group */ readonly loadBalancerAttached: IDependable; constructor(scope: Construct, id: string, props: TargetGroupImportProps); }