Interface CfnSpotFleet.TargetGroupsConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSpotFleet.TargetGroupsConfigProperty.Jsii$Proxy
Enclosing class:
CfnSpotFleet

@Stability(Stable) public static interface CfnSpotFleet.TargetGroupsConfigProperty extends software.amazon.jsii.JsiiSerializable
Describes the target groups to attach to a Spot Fleet.

Spot Fleet registers the running Spot Instances with these target groups.

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.*;
 TargetGroupsConfigProperty targetGroupsConfigProperty = TargetGroupsConfigProperty.builder()
         .targetGroups(List.of(TargetGroupProperty.builder()
                 .arn("arn")
                 .build()))
         .build();