aws_opensearchserverless_security_policy

Nivis Nix constructor for the aws_opensearchserverless_security_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,
  policy,
  type,
  description ? null,
  cfg_name ? null,
  region ? null,
  overrides ? {}
}
Required arguments
  • policy
  • type
Optional arguments
  • description (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
  • policy_version
Example
aws_opensearchserverless_security_policy {
  name = "opensearchserverless_security_policy";
  policy = …;  # required
  type = …;  # required
}

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