import * as core from "@terrascript/core"; export interface LogStreamArgs extends core.ResourceArgs { /** * (Required) The name of the log group under which the log stream is to be created. */ logGroupName: string | core.StringOut; /** * (Required) The name of the log stream. Must not be longer than 512 characters and must not contain ` * :` */ name: string | core.StringOut; } export class LogStream extends core.Resource { /** * The Amazon Resource Name (ARN) specifying the log stream. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the log group under which the log stream is to be created. */ @core.attr(String) public logGroupName!: string | core.StringOut; /** * (Required) The name of the log stream. Must not be longer than 512 characters and must not contain ` * :` */ @core.attr(String) public name!: string | core.StringOut; constructor(name: string, args?: LogStreamArgs) { super(name, "aws_cloudwatch_log_stream", args); } public override getNamespace(): string { return "aws_cloudwatch"; } }