aws_elasticsearch_domain_policyNivis Nix constructor for the aws_elasticsearch_domain_policy 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,
access_policies,
domain_name,
id ? null,
region ? null,
timeouts ? null,
overrides ? {}
}Required arguments
access_policiesdomain_name
Optional arguments
id(defaults tonull)region(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_elasticsearch_domain_policy {
name = "elasticsearch_domain_policy";
access_policies = …; # required
domain_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.