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
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.174Z")
@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.
-