Interface ILoadBalancerTarget
- All Superinterfaces:
IConnectable
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IEcsLoadBalancerTarget
,IEcsLoadBalancerTarget.Jsii$Default
,ILoadBalancerTarget.Jsii$Default
- All Known Implementing Classes:
AutoScalingGroup
,BaseService
,Ec2Service
,ExternalService
,FargateService
,IEcsLoadBalancerTarget.Jsii$Proxy
,ILoadBalancerTarget.Jsii$Proxy
,InstanceTarget
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-29T22:54:18.759Z")
@Stability(Stable)
public interface ILoadBalancerTarget
extends software.amazon.jsii.JsiiSerializable, IConnectable
Interface that is going to be implemented by constructs that you can load balance to.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forILoadBalancerTarget
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
attachToClassicLB
(LoadBalancer loadBalancer) Attach load-balanced target to a classic ELB.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnections
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
attachToClassicLB
Attach load-balanced target to a classic ELB.- Parameters:
loadBalancer
- [disable-awslint:ref-via-interface] The load balancer to attach the target to. This parameter is required.
-