aws_ec2_fleetNivis Nix constructor for the aws_ec2_fleet resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
context ? null,
excess_capacity_termination_policy ? null,
fleet_state ? null,
fulfilled_capacity ? null,
fulfilled_on_demand_capacity ? null,
id ? null,
region ? null,
replace_unhealthy_instances ? null,
tags ? null,
tags_all ? null,
terminate_instances ? null,
terminate_instances_with_expiration ? null,
type ? null,
valid_from ? null,
valid_until ? null,
fleet_instance_set ? null,
launch_template_config ? null,
on_demand_options ? null,
spot_options ? null,
target_capacity_specification ? null,
timeouts ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
context(defaults tonull)excess_capacity_termination_policy(defaults tonull)fleet_state(defaults tonull)fulfilled_capacity(defaults tonull)fulfilled_on_demand_capacity(defaults tonull)id(defaults tonull)region(defaults tonull)replace_unhealthy_instances(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)terminate_instances(defaults tonull)terminate_instances_with_expiration(defaults tonull)type(defaults tonull)valid_from(defaults tonull)valid_until(defaults tonull)fleet_instance_set(defaults tonull)launch_template_config(defaults tonull)on_demand_options(defaults tonull)spot_options(defaults tonull)target_capacity_specification(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arn
Example
aws_ec2_fleet {
name = "ec2_fleet";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.