aws_oam_sink_policy

Nivis Nix constructor for the aws_oam_sink_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,
  sink_identifier,
  id ? null,
  region ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • policy
  • sink_identifier
Optional arguments
  • id (defaults to null)
  • region (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • sink_id
Example
aws_oam_sink_policy {
  name = "oam_sink_policy";
  policy = …;  # required
  sink_identifier = …;  # required
}

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