package awselasticloadbalancingv2 import ( _jsii_ "github.com/aws/jsii-runtime-go/runtime" "github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2/internal" "github.com/aws/constructs-go/constructs/v10" ) // A target group. type ITargetGroup interface { constructs.IConstruct // A token representing a list of ARNs of the load balancers that route traffic to this target group. LoadBalancerArns() *string // Return an object to depend on the listeners added to this target group. LoadBalancerAttached() constructs.IDependable // ARN of the target group. TargetGroupArn() *string // The name of the target group. TargetGroupName() *string } // The jsii proxy for ITargetGroup type jsiiProxy_ITargetGroup struct { internal.Type__constructsIConstruct } func (j *jsiiProxy_ITargetGroup) LoadBalancerArns() *string { var returns *string _jsii_.Get( j, "loadBalancerArns", &returns, ) return returns } func (j *jsiiProxy_ITargetGroup) LoadBalancerAttached() constructs.IDependable { var returns constructs.IDependable _jsii_.Get( j, "loadBalancerAttached", &returns, ) return returns } func (j *jsiiProxy_ITargetGroup) TargetGroupArn() *string { var returns *string _jsii_.Get( j, "targetGroupArn", &returns, ) return returns } func (j *jsiiProxy_ITargetGroup) TargetGroupName() *string { var returns *string _jsii_.Get( j, "targetGroupName", &returns, ) return returns }