AWS Fundamentals Logo
AWS Fundamentals
Resource

aws_cloudwatch_log_destination_policy

Manages an Cloudwatch Log Destination Policy resource.

View Full Documentation on Terraform Registry

Sample HCL Configuration

A minimal configuration to get started. Refer to the Terraform Registry docs for all available arguments.

main.tf
resource "aws_cloudwatch_log_destination_policy" "example" {
  # Required arguments
  name = "my-policy"
}

Get the CloudWatch Cheat Sheet

Everything you need to know about CloudWatch on one page. HD quality, print-friendly.

Download Free Infographic