aws_cloudwatch_log_destination_policyNivis Nix constructor for the aws_cloudwatch_log_destination_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,
access_policy,
destination_name,
force_update ? null,
id ? null,
region ? null,
overrides ? {}
}Required arguments
access_policydestination_name
Optional arguments
force_update(defaults tonull)id(defaults tonull)region(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_cloudwatch_log_destination_policy {
name = "cloudwatch_log_destination_policy";
access_policy = …; # required
destination_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.