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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forILoadBalancerTarget.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToClassicLB(LoadBalancer loadBalancer) Attach load-balanced target to a classic ELB.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnectionsMethods 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.
-