interface SpotFleetReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.SpotFleetReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#SpotFleetReference |
Java | software.amazon.awscdk.services.ec2.SpotFleetReference |
Python | aws_cdk.aws_ec2.SpotFleetReference |
TypeScript | aws-cdk-lib » aws_ec2 » SpotFleetReference |
A reference to a SpotFleet resource.
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 spotFleetReference: ec2.SpotFleetReference = {
spotFleetId: 'spotFleetId',
};
Properties
| Name | Type | Description |
|---|---|---|
| spot | string | The Id of the SpotFleet resource. |
spotFleetId
Type:
string
The Id of the SpotFleet resource.

.NET
Go
Java
Python
TypeScript