aws_batch_compute_environment

Nivis Nix constructor for the aws_batch_compute_environment 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,
  type,
  id ? null,
  cfg_name ? null,
  name_prefix ? null,
  region ? null,
  service_role ? null,
  state ? null,
  tags ? null,
  tags_all ? null,
  unmanaged_vcpus ? null,
  compute_resources ? null,
  eks_configuration ? null,
  update_policy ? null,
  overrides ? {}
}
Required arguments
  • type
Optional arguments
  • id (defaults to null)
  • cfg_name (defaults to null)
  • name_prefix (defaults to null)
  • region (defaults to null)
  • service_role (defaults to null)
  • state (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • unmanaged_vcpus (defaults to null)
  • compute_resources (defaults to null)
  • eks_configuration (defaults to null)
  • update_policy (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • ecs_cluster_arn
  • status
  • status_reason
Example
aws_batch_compute_environment {
  name = "batch_compute_environment";
  type = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.