aws_m2_environment

Nivis Nix constructor for the aws_m2_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,
  engine_type,
  instance_type,
  apply_changes_during_maintenance_window ? null,
  description ? null,
  engine_version ? null,
  force_update ? null,
  kms_key_id ? null,
  cfg_name ? null,
  preferred_maintenance_window ? null,
  publicly_accessible ? null,
  region ? null,
  security_group_ids ? null,
  subnet_ids ? null,
  tags ? null,
  high_availability_config ? null,
  storage_configuration ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • engine_type
  • instance_type
Optional arguments
  • apply_changes_during_maintenance_window (defaults to null)
  • description (defaults to null)
  • engine_version (defaults to null)
  • force_update (defaults to null)
  • kms_key_id (defaults to null)
  • cfg_name (defaults to null)
  • preferred_maintenance_window (defaults to null)
  • publicly_accessible (defaults to null)
  • region (defaults to null)
  • security_group_ids (defaults to null)
  • subnet_ids (defaults to null)
  • tags (defaults to null)
  • high_availability_config (defaults to null)
  • storage_configuration (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • environment_id
  • id
  • load_balancer_arn
  • tags_all
Example
aws_m2_environment {
  name = "m2_environment";
  engine_type = …;  # required
  instance_type = …;  # required
}

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