Skip to main content

ec2fleet

Gets an individual ec2fleet resource

Overview

Nameec2fleet
TypeResource
Descriptionec2fleet
Idawscc.ec2.ec2fleet

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

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
target_capacity_specification,
on_demand_options,
type,
excess_capacity_termination_policy,
tag_specifications,
spot_options,
valid_from,
replace_unhealthy_instances,
launch_template_configs,
fleet_id,
terminate_instances_with_expiration,
valid_until,
context
FROM awscc.ec2.ec2fleet
WHERE data__Identifier = '<FleetId>';

Permissions

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

Delete

ec2:DescribeFleets,
ec2:DeleteFleets

Read

ec2:DescribeFleets

Update

ec2:ModifyFleet,
ec2:DescribeFleets