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

export interface DhcpOptionsAssociationArgs extends core.ResourceArgs {
  dhcpOptionsId: string | core.StringOut;

  vpcId: string | core.StringOut;
}

export class DhcpOptionsAssociation extends core.Resource<DhcpOptionsAssociationArgs> {
  @core.attr(String)
  public dhcpOptionsId!: string | core.StringOut;

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

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

  constructor(name: string, args?: DhcpOptionsAssociationArgs) {
    super(name, "aws_vpc_dhcp_options_association", args);
  }

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