aws_cloudwatch_event_archiveNivis 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 tonull)event_pattern(defaults tonull)id(defaults tonull)kms_key_identifier(defaults tonull)cfg_name(defaults tonull)region(defaults tonull)retention_days(defaults tonull)
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.