Interface LoadBalancerTargetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LoadBalancerTargetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:38.581Z")
@Stability(Stable)
public interface LoadBalancerTargetProps
extends software.amazon.jsii.JsiiSerializable
Result of attaching a target to load balancer.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
Object targetJson;
LoadBalancerTargetProps loadBalancerTargetProps = LoadBalancerTargetProps.builder()
.targetType(TargetType.INSTANCE)
// the properties below are optional
.targetJson(targetJson)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLoadBalancerTargetPropsstatic final classAn implementation forLoadBalancerTargetProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTargetType
What kind of target this is. -
getTargetJson
JSON representing the target's direct addition to the TargetGroup list.May be omitted if the target is going to register itself later.
-
builder
- Returns:
- a
LoadBalancerTargetProps.BuilderofLoadBalancerTargetProps
-