github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/aws/r/cloudwatch_log_stream.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_cloudwatch_log_stream"
     4  sidebar_current: "docs-aws-resource-cloudwatch-log-stream"
     5  description: |-
     6    Provides a CloudWatch Log Stream resource.
     7  ---
     8  
     9  # aws\_cloudwatch\_log\_stream
    10  
    11  Provides a CloudWatch Log Stream resource.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "aws_cloudwatch_log_group" "yada" {
    17    name = "Yada"
    18  }
    19  
    20  resource "aws_cloudwatch_log_stream" "foo" {
    21    name           = "SampleLogStream1234"
    22    log_group_name = "${aws_cloudwatch_log_group.yada.name}"
    23  }
    24  ```
    25  
    26  ## Argument Reference
    27  
    28  The following arguments are supported:
    29  
    30  * `name` - (Required) The name of the log stream. Must not be longer than 512 characters and must not contain `:`
    31  * `log_group_name` - (Required) The name of the log group under which the log stream is to be created.
    32  
    33  ## Attributes Reference
    34  
    35  The following attributes are exported:
    36  
    37  * `arn` - The Amazon Resource Name (ARN) specifying the log stream.