UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

36 lines (35 loc) 1.2 kB
import type { IDependable } from 'constructs'; import { Construct } from 'constructs'; import type { ITargetGroup } from './base-target-group'; import * as cdk from '../../../core'; import type { 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); }