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.104.0 (build e79254c)",
date="2024-11-15T10:24:59.299Z")
@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
Modifier 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.
-