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