aws_elasticsearch_domain

Nivis Nix constructor for the aws_elasticsearch_domain 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,
  domain_name,
  access_policies ? null,
  advanced_options ? null,
  elasticsearch_version ? null,
  id ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  advanced_security_options ? null,
  auto_tune_options ? null,
  cluster_config ? null,
  cognito_options ? null,
  domain_endpoint_options ? null,
  ebs_options ? null,
  encrypt_at_rest ? null,
  log_publishing_options ? null,
  node_to_node_encryption ? null,
  snapshot_options ? null,
  timeouts ? null,
  vpc_options ? null,
  overrides ? {}
}
Required arguments
  • domain_name
Optional arguments
  • access_policies (defaults to null)
  • advanced_options (defaults to null)
  • elasticsearch_version (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • advanced_security_options (defaults to null)
  • auto_tune_options (defaults to null)
  • cluster_config (defaults to null)
  • cognito_options (defaults to null)
  • domain_endpoint_options (defaults to null)
  • ebs_options (defaults to null)
  • encrypt_at_rest (defaults to null)
  • log_publishing_options (defaults to null)
  • node_to_node_encryption (defaults to null)
  • snapshot_options (defaults to null)
  • timeouts (defaults to null)
  • vpc_options (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • domain_id
  • endpoint
  • kibana_endpoint
Example
aws_elasticsearch_domain {
  name = "elasticsearch_domain";
  domain_name = …;  # required
}

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