import * as core from "@terrascript/core";

export interface QueryLogConfigAssociationArgs extends core.ResourceArgs {
  resolverQueryLogConfigId: string | core.StringOut;

  resourceId: string | core.StringOut;
}

export class QueryLogConfigAssociation extends core.Resource<QueryLogConfigAssociationArgs> {
  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String)
  public resolverQueryLogConfigId!: string | core.StringOut;

  @core.attr(String)
  public resourceId!: string | core.StringOut;

  constructor(name: string, args?: QueryLogConfigAssociationArgs) {
    super(name, "aws_route53_resolver_query_log_config_association", args);
  }

  public override getNamespace(): string {
    return "aws_route53_resolver";
  }
}
