IApplicationTargetGroup Interface
A Target Group for Application Load Balancers.
| Source | aws-elasticloadbalancingv2/lib/alb/application-target-group.ts |
|---|---|
| Type last changed |
Properties
envResourceEnvironmentenvResourceEnvironmentenvResourceEnvironmentEnvResourceEnvironmentEnvResourceEnvironment #notes
For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.
For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.
loadBalancerArnsstringload_balancer_arnsstrloadBalancerArnsStringLoadBalancerArnsstringLoadBalancerArns*string #loadBalancerAttachedIDependableload_balancer_attachedIDependableloadBalancerAttachedIDependableLoadBalancerAttachedIDependableLoadBalancerAttachedIDependable #metricsIApplicationTargetGroupMetricsmetricsIApplicationTargetGroupMetricsmetricsIApplicationTargetGroupMetricsMetricsIApplicationTargetGroupMetricsMetricsIApplicationTargetGroupMetrics #targetGroupArnstringtarget_group_arnstrtargetGroupArnStringTargetGroupArnstringTargetGroupArn*string #targetGroupNamestringtarget_group_namestrtargetGroupNameStringTargetGroupNamestringTargetGroupName*string #targetGroupRefTargetGroupReferencetarget_group_refTargetGroupReferencetargetGroupRefTargetGroupReferenceTargetGroupRefTargetGroupReferenceTargetGroupRefTargetGroupReference #Methods
addTarget(...targets: IApplicationLoadBalancerTarget[]): voiddef add_target(self, targets: IApplicationLoadBalancerTarget) -> Nonepublic void addTarget(IApplicationLoadBalancerTarget targets)public void AddTarget(IApplicationLoadBalancerTarget targets)func AddTarget(Targets IApplicationLoadBalancerTarget) #registerConnectable(connectable: IConnectable, portRange?: Port): voiddef register_connectable(self, connectable: IConnectable, port_range: typing.Optional[Port] = None) -> Nonepublic void registerConnectable(IConnectable connectable, Port portRange)public void RegisterConnectable(IConnectable connectable, Port? portRange = null)func RegisterConnectable(Connectable IConnectable, PortRange Port) #Don't call this directly. It will be called by load balancing targets.
registerListener(listener: IApplicationListener, associatingConstruct?: IConstruct): voiddef register_listener(self, listener: IApplicationListener, associating_construct: typing.Optional[IConstruct] = None) -> Nonepublic void registerListener(IApplicationListener listener, IConstruct associatingConstruct)public void RegisterListener(IApplicationListener listener, IConstruct? associatingConstruct = null)func RegisterListener(Listener IApplicationListener, AssociatingConstruct IConstruct) #Don't call this directly. It will be called by listeners.
with(...mixins: IMixin[]): IConstructdef with(self, mixins: IMixin) -> IConstructpublic IConstruct with(IMixin mixins)public IConstruct With(IMixin mixins)func With(Mixins IMixin) IConstruct #Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.
1 parameter · returns
Parameters
mixinsmixinsmixinsmixinsMixins— The mixins to apply.
Returns: This construct for chaining