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

export interface VpcAssociationAuthorizationArgs extends core.ResourceArgs {
  vpcId: string | core.StringOut;

  vpcRegion?: string | core.StringOut;

  zoneId: string | core.StringOut;
}

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

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

  @core.attr(String, { computed: true })
  public vpcRegion?: string | core.StringOut;

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

  constructor(name: string, args?: VpcAssociationAuthorizationArgs) {
    super(name, "aws_route53_vpc_association_authorization", args);
  }

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