Skip to main content

spot_fleets

Retrieves a list of spot_fleets in a region

Overview

Namespot_fleets
TypeResource
Descriptionspot_fleets
Idawscc.ec2.spot_fleets

Fields

NameDatatypeDescription
idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id
FROM awscc.ec2.spot_fleets
WHERE region = 'us-east-1'

Permissions

To operate on the spot_fleets resource, the following permissions are required:

Create

iam:PassRole,
ec2:CreateTags,
ec2:RequestSpotFleet,
ec2:DescribeSpotFleetRequests,
ec2:RunInstances

List

ec2:DescribeSpotFleetRequests