ec2fleet
Gets an individual ec2fleet
resource
Overview
Name | ec2fleet |
Type | Resource |
Description | ec2fleet |
Id | awscc.ec2.ec2fleet |
Fields
Name | Datatype | Description |
---|---|---|
target_capacity_specification | object | |
on_demand_options | object | |
type | string | |
excess_capacity_termination_policy | string | |
tag_specifications | array | |
spot_options | object | |
valid_from | string | |
replace_unhealthy_instances | boolean | |
launch_template_configs | array | |
fleet_id | string | |
terminate_instances_with_expiration | boolean | |
valid_until | string | |
context | string | |
region | string | AWS 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