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