aws_docdb_cluster_instance

Nivis Nix constructor for the aws_docdb_cluster_instance 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,
  cluster_identifier,
  instance_class,
  apply_immediately ? null,
  auto_minor_version_upgrade ? null,
  availability_zone ? null,
  ca_cert_identifier ? null,
  certificate_rotation_restart ? null,
  copy_tags_to_snapshot ? null,
  enable_performance_insights ? null,
  engine ? null,
  id ? null,
  identifier ? null,
  identifier_prefix ? null,
  performance_insights_kms_key_id ? null,
  preferred_maintenance_window ? null,
  promotion_tier ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • cluster_identifier
  • instance_class
Optional arguments
  • apply_immediately (defaults to null)
  • auto_minor_version_upgrade (defaults to null)
  • availability_zone (defaults to null)
  • ca_cert_identifier (defaults to null)
  • certificate_rotation_restart (defaults to null)
  • copy_tags_to_snapshot (defaults to null)
  • enable_performance_insights (defaults to null)
  • engine (defaults to null)
  • id (defaults to null)
  • identifier (defaults to null)
  • identifier_prefix (defaults to null)
  • performance_insights_kms_key_id (defaults to null)
  • preferred_maintenance_window (defaults to null)
  • promotion_tier (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • db_subnet_group_name
  • dbi_resource_id
  • endpoint
  • engine_version
  • kms_key_id
  • port
  • preferred_backup_window
  • publicly_accessible
  • storage_encrypted
  • writer
Example
aws_docdb_cluster_instance {
  name = "docdb_cluster_instance";
  cluster_identifier = …;  # required
  instance_class = …;  # required
}

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