aws_cloudwatch_log_account_policyNivis Nix constructor for the aws_cloudwatch_log_account_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_document,
policy_name,
policy_type,
id ? null,
region ? null,
scope ? null,
selection_criteria ? null,
overrides ? {}
}Required arguments
policy_documentpolicy_namepolicy_type
Optional arguments
id(defaults tonull)region(defaults tonull)scope(defaults tonull)selection_criteria(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_cloudwatch_log_account_policy {
name = "cloudwatch_log_account_policy";
policy_document = …; # required
policy_name = …; # required
policy_type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.