aws_cloudwatch_event_archive

Nivis Nix constructor for the aws_cloudwatch_event_archive 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,
  event_source_arn,
  description ? null,
  event_pattern ? null,
  id ? null,
  kms_key_identifier ? null,
  cfg_name ? null,
  region ? null,
  retention_days ? null,
  overrides ? {}
}
Required arguments
  • event_source_arn
Optional arguments
  • description (defaults to null)
  • event_pattern (defaults to null)
  • id (defaults to null)
  • kms_key_identifier (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
  • retention_days (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
Example
aws_cloudwatch_event_archive {
  name = "cloudwatch_event_archive";
  event_source_arn = …;  # required
}

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