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

export interface Ec2TransitGatewayVpcAttachmentAccepterArgs
  extends core.ResourceArgs {
  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  tagsAll?: core.Map<string, string> | core.MapOut<core.StringOut>;

  transitGatewayAttachmentId: string | core.StringOut;

  transitGatewayDefaultRouteTableAssociation?: boolean | core.BooleanOut;

  transitGatewayDefaultRouteTablePropagation?: boolean | core.BooleanOut;
}

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

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

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

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

  @core.attr(String, { computed: true, kind: "array" })
  public subnetIds!: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(String, { kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

  @core.attr(String, { computed: true, kind: "map" })
  public tagsAll?: core.Map<string, string> | core.MapOut<core.StringOut>;

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

  @core.attr(Boolean)
  public transitGatewayDefaultRouteTableAssociation?: boolean | core.BooleanOut;

  @core.attr(Boolean)
  public transitGatewayDefaultRouteTablePropagation?: boolean | core.BooleanOut;

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

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

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

  constructor(name: string, args?: Ec2TransitGatewayVpcAttachmentAccepterArgs) {
    super(name, "aws_ec2_transit_gateway_vpc_attachment_accepter", args);
  }

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