Interface CfnSpotFleet.LoadBalancersConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSpotFleet.LoadBalancersConfigProperty.Jsii$Proxy
- Enclosing class:
CfnSpotFleet
@Stability(Stable)
public static interface CfnSpotFleet.LoadBalancersConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the Classic Load Balancers and target groups to attach to a Spot Fleet request.
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.ec2.*; LoadBalancersConfigProperty loadBalancersConfigProperty = LoadBalancersConfigProperty.builder() .classicLoadBalancersConfig(ClassicLoadBalancersConfigProperty.builder() .classicLoadBalancers(List.of(ClassicLoadBalancerProperty.builder() .name("name") .build())) .build()) .targetGroupsConfig(TargetGroupsConfigProperty.builder() .targetGroups(List.of(TargetGroupProperty.builder() .arn("arn") .build())) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSpotFleet.LoadBalancersConfigProperty
static final class
An implementation forCfnSpotFleet.LoadBalancersConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClassicLoadBalancersConfig
The Classic Load Balancers. -
getTargetGroupsConfig
The target groups. -
builder
-