import * as core from "@terrascript/core"; export interface LogDestinationArgs extends core.ResourceArgs { /** * (Required) A name for the log destination */ name: string | core.StringOut; /** * (Required) The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into th * e target */ roleArn: string | core.StringOut; /** * (Required) The ARN of the target Amazon Kinesis stream resource for the destination */ targetArn: string | core.StringOut; } export class LogDestination extends core.Resource { /** * The Amazon Resource Name (ARN) specifying the log destination. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) A name for the log destination */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into th * e target */ @core.attr(String) public roleArn!: string | core.StringOut; /** * (Required) The ARN of the target Amazon Kinesis stream resource for the destination */ @core.attr(String) public targetArn!: string | core.StringOut; constructor(name: string, args?: LogDestinationArgs) { super(name, "aws_cloudwatch_log_destination", args); } public override getNamespace(): string { return "aws_cloudwatch"; } }