aws_emr_cluster

Nivis Nix constructor for the aws_emr_cluster 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,
  release_label,
  service_role,
  additional_info ? null,
  applications ? null,
  autoscaling_role ? null,
  configurations ? null,
  configurations_json ? null,
  custom_ami_id ? null,
  ebs_root_volume_size ? null,
  id ? null,
  keep_job_flow_alive_when_no_steps ? null,
  list_steps_states ? null,
  log_encryption_kms_key_id ? null,
  log_uri ? null,
  cfg_name ? null,
  os_release_label ? null,
  placement_group_config ? null,
  region ? null,
  scale_down_behavior ? null,
  security_configuration ? null,
  step ? null,
  step_concurrency_level ? null,
  tags ? null,
  tags_all ? null,
  termination_protection ? null,
  unhealthy_node_replacement ? null,
  visible_to_all_users ? null,
  auto_termination_policy ? null,
  bootstrap_action ? null,
  core_instance_fleet ? null,
  core_instance_group ? null,
  ec2_attributes ? null,
  kerberos_attributes ? null,
  master_instance_fleet ? null,
  master_instance_group ? null,
  overrides ? {}
}
Required arguments
  • release_label
  • service_role
Optional arguments
  • additional_info (defaults to null)
  • applications (defaults to null)
  • autoscaling_role (defaults to null)
  • configurations (defaults to null)
  • configurations_json (defaults to null)
  • custom_ami_id (defaults to null)
  • ebs_root_volume_size (defaults to null)
  • id (defaults to null)
  • keep_job_flow_alive_when_no_steps (defaults to null)
  • list_steps_states (defaults to null)
  • log_encryption_kms_key_id (defaults to null)
  • log_uri (defaults to null)
  • cfg_name (defaults to null)
  • os_release_label (defaults to null)
  • placement_group_config (defaults to null)
  • region (defaults to null)
  • scale_down_behavior (defaults to null)
  • security_configuration (defaults to null)
  • step (defaults to null)
  • step_concurrency_level (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • termination_protection (defaults to null)
  • unhealthy_node_replacement (defaults to null)
  • visible_to_all_users (defaults to null)
  • auto_termination_policy (defaults to null)
  • bootstrap_action (defaults to null)
  • core_instance_fleet (defaults to null)
  • core_instance_group (defaults to null)
  • ec2_attributes (defaults to null)
  • kerberos_attributes (defaults to null)
  • master_instance_fleet (defaults to null)
  • master_instance_group (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • cluster_state
  • master_public_dns
Example
aws_emr_cluster {
  name = "emr_cluster";
  release_label = …;  # required
  service_role = …;  # required
}

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