Interface LoadBalancerTargetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LoadBalancerTargetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-09-10T01:10:09.459Z")
@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 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
-