SpotFleetReference
- class aws_cdk.interfaces.aws_ec2.SpotFleetReference(*, spot_fleet_id)
Bases:
objectA reference to a SpotFleet resource.
- Parameters:
spot_fleet_id (
str) – The Id of the SpotFleet resource.- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.interfaces import aws_ec2 as interfaces_aws_ec2 spot_fleet_reference = interfaces_aws_ec2.SpotFleetReference( spot_fleet_id="spotFleetId" )
Attributes
- spot_fleet_id
The Id of the SpotFleet resource.