aws_rds_cluster

Nivis Nix constructor for the aws_rds_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,
  engine,
  allocated_storage ? null,
  allow_major_version_upgrade ? null,
  apply_immediately ? null,
  auto_minor_version_upgrade ? null,
  availability_zones ? null,
  backtrack_window ? null,
  backup_retention_period ? null,
  ca_certificate_identifier ? null,
  cluster_identifier ? null,
  cluster_identifier_prefix ? null,
  cluster_members ? null,
  cluster_scalability_type ? null,
  copy_tags_to_snapshot ? null,
  database_insights_mode ? null,
  database_name ? null,
  db_cluster_instance_class ? null,
  db_cluster_parameter_group_name ? null,
  db_instance_parameter_group_name ? null,
  db_subnet_group_name ? null,
  db_system_id ? null,
  delete_automated_backups ? null,
  deletion_protection ? null,
  domain ? null,
  domain_iam_role_name ? null,
  enable_global_write_forwarding ? null,
  enable_http_endpoint ? null,
  enable_local_write_forwarding ? null,
  enabled_cloudwatch_logs_exports ? null,
  engine_lifecycle_support ? null,
  engine_mode ? null,
  engine_version ? null,
  final_snapshot_identifier ? null,
  global_cluster_identifier ? null,
  iam_database_authentication_enabled ? null,
  iam_roles ? null,
  id ? null,
  iops ? null,
  kms_key_id ? null,
  manage_master_user_password ? null,
  master_password ? null,
  master_password_wo ? null,
  master_password_wo_version ? null,
  master_user_secret_kms_key_id ? null,
  master_username ? null,
  monitoring_interval ? null,
  monitoring_role_arn ? null,
  network_type ? null,
  performance_insights_enabled ? null,
  performance_insights_kms_key_id ? null,
  performance_insights_retention_period ? null,
  port ? null,
  preferred_backup_window ? null,
  preferred_maintenance_window ? null,
  publicly_accessible ? null,
  region ? null,
  replication_source_identifier ? null,
  skip_final_snapshot ? null,
  snapshot_identifier ? null,
  source_region ? null,
  storage_encrypted ? null,
  storage_type ? null,
  tags ? null,
  tags_all ? null,
  vpc_security_group_ids ? null,
  warning_event_categories ? null,
  restore_to_point_in_time ? null,
  s3_import ? null,
  scaling_configuration ? null,
  serverlessv2_scaling_configuration ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • engine
Optional arguments
  • allocated_storage (defaults to null)
  • allow_major_version_upgrade (defaults to null)
  • apply_immediately (defaults to null)
  • auto_minor_version_upgrade (defaults to null)
  • availability_zones (defaults to null)
  • backtrack_window (defaults to null)
  • backup_retention_period (defaults to null)
  • ca_certificate_identifier (defaults to null)
  • cluster_identifier (defaults to null)
  • cluster_identifier_prefix (defaults to null)
  • cluster_members (defaults to null)
  • cluster_scalability_type (defaults to null)
  • copy_tags_to_snapshot (defaults to null)
  • database_insights_mode (defaults to null)
  • database_name (defaults to null)
  • db_cluster_instance_class (defaults to null)
  • db_cluster_parameter_group_name (defaults to null)
  • db_instance_parameter_group_name (defaults to null)
  • db_subnet_group_name (defaults to null)
  • db_system_id (defaults to null)
  • delete_automated_backups (defaults to null)
  • deletion_protection (defaults to null)
  • domain (defaults to null)
  • domain_iam_role_name (defaults to null)
  • enable_global_write_forwarding (defaults to null)
  • enable_http_endpoint (defaults to null)
  • enable_local_write_forwarding (defaults to null)
  • enabled_cloudwatch_logs_exports (defaults to null)
  • engine_lifecycle_support (defaults to null)
  • engine_mode (defaults to null)
  • engine_version (defaults to null)
  • final_snapshot_identifier (defaults to null)
  • global_cluster_identifier (defaults to null)
  • iam_database_authentication_enabled (defaults to null)
  • iam_roles (defaults to null)
  • id (defaults to null)
  • iops (defaults to null)
  • kms_key_id (defaults to null)
  • manage_master_user_password (defaults to null)
  • master_password (defaults to null)
  • master_password_wo (defaults to null)
  • master_password_wo_version (defaults to null)
  • master_user_secret_kms_key_id (defaults to null)
  • master_username (defaults to null)
  • monitoring_interval (defaults to null)
  • monitoring_role_arn (defaults to null)
  • network_type (defaults to null)
  • performance_insights_enabled (defaults to null)
  • performance_insights_kms_key_id (defaults to null)
  • performance_insights_retention_period (defaults to null)
  • port (defaults to null)
  • preferred_backup_window (defaults to null)
  • preferred_maintenance_window (defaults to null)
  • publicly_accessible (defaults to null)
  • region (defaults to null)
  • replication_source_identifier (defaults to null)
  • skip_final_snapshot (defaults to null)
  • snapshot_identifier (defaults to null)
  • source_region (defaults to null)
  • storage_encrypted (defaults to null)
  • storage_type (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • vpc_security_group_ids (defaults to null)
  • warning_event_categories (defaults to null)
  • restore_to_point_in_time (defaults to null)
  • s3_import (defaults to null)
  • scaling_configuration (defaults to null)
  • serverlessv2_scaling_configuration (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • ca_certificate_valid_till
  • cluster_resource_id
  • endpoint
  • engine_version_actual
  • hosted_zone_id
  • master_user_secret
  • reader_endpoint
  • upgrade_rollout_order
Example
aws_rds_cluster {
  name = "rds_cluster";
  engine = …;  # required
}

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