Interface CfnSpotFleetPropsMixin.TargetGroupsConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSpotFleetPropsMixin.TargetGroupsConfigProperty.Jsii$Proxy
- Enclosing class:
CfnSpotFleetPropsMixin
@Stability(Stable)
public static interface CfnSpotFleetPropsMixin.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.cfnpropertymixins.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 forCfnSpotFleetPropsMixin.TargetGroupsConfigPropertystatic final classAn implementation forCfnSpotFleetPropsMixin.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: '<'eitherIResolvableorCfnSpotFleetPropsMixin.TargetGroupProperty>- See Also:
-
builder
-