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

export interface Ipv6CidrBlockAssociationArgs extends core.ResourceArgs {
  ipv6CidrBlock?: string | core.StringOut;

  ipv6IpamPoolId: string | core.StringOut;

  ipv6NetmaskLength?: number | core.NumberOut;

  vpcId: string | core.StringOut;
}

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

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

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

  @core.attr(Number)
  public ipv6NetmaskLength?: number | core.NumberOut;

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

  constructor(name: string, args?: Ipv6CidrBlockAssociationArgs) {
    super(name, "aws_vpc_ipv6_cidr_block_association", args);
  }

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