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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSpotFleet.TargetGroupsConfigPropertystatic final classAn implementation forCfnSpotFleet.TargetGroupsConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTargetGroups
One or more target groups.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpotFleet.TargetGroupProperty>- See Also:
-
builder
-