aws_ec2_fleet

Nivis 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 to null)
  • excess_capacity_termination_policy (defaults to null)
  • fleet_state (defaults to null)
  • fulfilled_capacity (defaults to null)
  • fulfilled_on_demand_capacity (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
  • replace_unhealthy_instances (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • terminate_instances (defaults to null)
  • terminate_instances_with_expiration (defaults to null)
  • type (defaults to null)
  • valid_from (defaults to null)
  • valid_until (defaults to null)
  • fleet_instance_set (defaults to null)
  • launch_template_config (defaults to null)
  • on_demand_options (defaults to null)
  • spot_options (defaults to null)
  • target_capacity_specification (defaults to null)
  • timeouts (defaults to null)
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.