github.com/jmbataller/terraform@v0.6.8-0.20151125192640-b7a12e3a580c/website/source/docs/providers/aws/r/cloudwatch_log_group.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_cloudwatch_log_group" 4 sidebar_current: "docs-aws-resource-cloudwatch-log-group" 5 description: |- 6 Provides a CloudWatch Log Group resource. 7 --- 8 9 # aws\_cloudwatch\_log\_group 10 11 Provides a CloudWatch Log Group resource. 12 13 ## Example Usage 14 15 ``` 16 resource "aws_cloudwatch_log_group" "yada" { 17 name = "Yada" 18 } 19 ``` 20 21 ## Argument Reference 22 23 The following arguments are supported: 24 25 * `name` - (Required) The name of the log group 26 * `retention_in_days` - (Optional) Specifies the number of days 27 you want to retain log events in the specified log group. 28 29 ## Attributes Reference 30 31 The following attributes are exported: 32 33 * `arn` - The Amazon Resource Name (ARN) specifying the log group.