import * as core from "@terrascript/core"; export interface QueryLogConfigArgs extends core.ResourceArgs { /** * (Required) The ARN of the resource that you want Route 53 Resolver to send query logs. */ destinationArn: string | core.StringOut; /** * (Required) The name of the Route 53 Resolver query logging configuration. */ name: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class QueryLogConfig extends core.Resource { /** * The ARN (Amazon Resource Name) of the Route 53 Resolver query logging configuration. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The ARN of the resource that you want Route 53 Resolver to send query logs. */ @core.attr(String) public destinationArn!: string | core.StringOut; /** * The ID of the Route 53 Resolver query logging configuration. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the Route 53 Resolver query logging configuration. */ @core.attr(String) public name!: string | core.StringOut; /** * The AWS account ID of the account that created the query logging configuration. */ @core.attr(String, { computed: true }) public ownerId!: string | core.StringOut; /** * An indication of whether the query logging configuration is shared with other AWS accounts, or was s * hared with the current account by another AWS account. */ @core.attr(String, { computed: true }) public shareStatus!: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: QueryLogConfigArgs) { super(name, "aws_route53_resolver_query_log_config", args); } public override getNamespace(): string { return "aws_route53_resolver"; } }