Interface LoadBalancerTargetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LoadBalancerTargetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:01.740Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLoadBalancerTargetProps
static final class
An 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.Builder
ofLoadBalancerTargetProps
-