Skip to main content

ec2fleets_list_only

Lists ec2fleets in a region or regions, for all properties use ec2fleets

Overview

Nameec2fleets_list_only
TypeResource
DescriptionResource Type definition for AWS::EC2::EC2Fleet
Idaws.ec2.ec2fleets_list_only

Fields

NameDatatypeDescription
target_capacity_specificationobject
on_demand_optionsobject
typestring
excess_capacity_termination_policystring
tag_specificationsarray
spot_optionsobject
valid_fromstring
replace_unhealthy_instancesboolean
launch_template_configsarray
fleet_idstring
terminate_instances_with_expirationboolean
valid_untilstring
contextstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all ec2fleets in a region.

SELECT
region,
fleet_id
FROM aws.ec2.ec2fleets_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the ec2fleets_list_only resource, see ec2fleets