@Stability(value=Stable)
public static interface CfnSpotFleet.LoadBalancersConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSpotFleet.LoadBalancersConfigProperty.Builder
A builder for
CfnSpotFleet.LoadBalancersConfigProperty |
static class |
CfnSpotFleet.LoadBalancersConfigProperty.Jsii$Proxy
An implementation for
CfnSpotFleet.LoadBalancersConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSpotFleet.LoadBalancersConfigProperty.Builder |
builder() |
default Object |
getClassicLoadBalancersConfig()
The Classic Load Balancers.
|
default Object |
getTargetGroupsConfig()
The target groups.
|
@Stability(value=Stable) @Nullable default Object getClassicLoadBalancersConfig()
@Stability(value=Stable) @Nullable default Object getTargetGroupsConfig()
@Stability(value=Stable) static CfnSpotFleet.LoadBalancersConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.