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();
 

See Also: