aws_batch_compute_environmentNivis 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 tonull)cfg_name(defaults tonull)name_prefix(defaults tonull)region(defaults tonull)service_role(defaults tonull)state(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)unmanaged_vcpus(defaults tonull)compute_resources(defaults tonull)eks_configuration(defaults tonull)update_policy(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnecs_cluster_arnstatusstatus_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.