aws_elasticache_cluster

Nivis Nix constructor for the aws_elasticache_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,
  cluster_id,
  apply_immediately ? null,
  auto_minor_version_upgrade ? null,
  availability_zone ? null,
  az_mode ? null,
  engine ? null,
  engine_version ? null,
  final_snapshot_identifier ? null,
  id ? null,
  ip_discovery ? null,
  maintenance_window ? null,
  network_type ? null,
  node_type ? null,
  notification_topic_arn ? null,
  num_cache_nodes ? null,
  outpost_mode ? null,
  parameter_group_name ? null,
  port ? null,
  preferred_availability_zones ? null,
  preferred_outpost_arn ? null,
  region ? null,
  replication_group_id ? null,
  security_group_ids ? null,
  snapshot_arns ? null,
  snapshot_name ? null,
  snapshot_retention_limit ? null,
  snapshot_window ? null,
  subnet_group_name ? null,
  tags ? null,
  tags_all ? null,
  transit_encryption_enabled ? null,
  log_delivery_configuration ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • cluster_id
Optional arguments
  • apply_immediately (defaults to null)
  • auto_minor_version_upgrade (defaults to null)
  • availability_zone (defaults to null)
  • az_mode (defaults to null)
  • engine (defaults to null)
  • engine_version (defaults to null)
  • final_snapshot_identifier (defaults to null)
  • id (defaults to null)
  • ip_discovery (defaults to null)
  • maintenance_window (defaults to null)
  • network_type (defaults to null)
  • node_type (defaults to null)
  • notification_topic_arn (defaults to null)
  • num_cache_nodes (defaults to null)
  • outpost_mode (defaults to null)
  • parameter_group_name (defaults to null)
  • port (defaults to null)
  • preferred_availability_zones (defaults to null)
  • preferred_outpost_arn (defaults to null)
  • region (defaults to null)
  • replication_group_id (defaults to null)
  • security_group_ids (defaults to null)
  • snapshot_arns (defaults to null)
  • snapshot_name (defaults to null)
  • snapshot_retention_limit (defaults to null)
  • snapshot_window (defaults to null)
  • subnet_group_name (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • transit_encryption_enabled (defaults to null)
  • log_delivery_configuration (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • cache_nodes
  • cluster_address
  • configuration_endpoint
  • engine_version_actual
Example
aws_elasticache_cluster {
  name = "elasticache_cluster";
  cluster_id = …;  # required
}

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