import * as core from "@terrascript/core"; export interface QueryLogArgs extends core.ResourceArgs { /** * (Required) CloudWatch log group ARN to send query logs. */ cloudwatchLogGroupArn: string | core.StringOut; /** * (Required) Route53 hosted zone ID to enable query logs. */ zoneId: string | core.StringOut; } export class QueryLog extends core.Resource { /** * The Amazon Resource Name (ARN) of the Query Logging Config. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) CloudWatch log group ARN to send query logs. */ @core.attr(String) public cloudwatchLogGroupArn!: string | core.StringOut; /** * The query logging configuration ID */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Route53 hosted zone ID to enable query logs. */ @core.attr(String) public zoneId!: string | core.StringOut; constructor(name: string, args?: QueryLogArgs) { super(name, "aws_route53_query_log", args); } public override getNamespace(): string { return "aws_route53"; } }