interface ClassicLoadBalancersConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnSpotFleet.ClassicLoadBalancersConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnSpotFleet_ClassicLoadBalancersConfigProperty |
Java | software.amazon.awscdk.services.ec2.CfnSpotFleet.ClassicLoadBalancersConfigProperty |
Python | aws_cdk.aws_ec2.CfnSpotFleet.ClassicLoadBalancersConfigProperty |
TypeScript | aws-cdk-lib » aws_ec2 » CfnSpotFleet » ClassicLoadBalancersConfigProperty |
Specifies the Classic Load Balancers to attach to a Spot Fleet.
Spot Fleet registers the running Spot Instances with these Classic Load Balancers.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const classicLoadBalancersConfigProperty: ec2.CfnSpotFleet.ClassicLoadBalancersConfigProperty = {
classicLoadBalancers: [{
name: 'name',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| classic | IResolvable | (IResolvable | Classic)[] | One or more Classic Load Balancers. |
classicLoadBalancers
Type:
IResolvable | (IResolvable | Classic)[]
One or more Classic Load Balancers.

.NET
Go
Java
Python
TypeScript