@Stability(value=Stable)
public static interface CfnSpotFleet.TargetGroupsConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSpotFleet.TargetGroupsConfigProperty.Builder
A builder for
CfnSpotFleet.TargetGroupsConfigProperty |
static class |
CfnSpotFleet.TargetGroupsConfigProperty.Jsii$Proxy
An implementation for
CfnSpotFleet.TargetGroupsConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSpotFleet.TargetGroupsConfigProperty.Builder |
builder() |
Object |
getTargetGroups()
One or more target groups.
|
@Stability(value=Stable) @NotNull Object getTargetGroups()
@Stability(value=Stable) static CfnSpotFleet.TargetGroupsConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.