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

export interface Ec2TransitGatewayMulticastDomainArgs
  extends core.ResourceArgs {
  autoAcceptSharedAssociations?: string | core.StringOut;

  igmpv2Support?: string | core.StringOut;

  staticSourcesSupport?: string | core.StringOut;

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

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

  transitGatewayId: string | core.StringOut;
}

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

  @core.attr(String)
  public autoAcceptSharedAssociations?: string | core.StringOut;

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

  @core.attr(String)
  public igmpv2Support?: string | core.StringOut;

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

  @core.attr(String)
  public staticSourcesSupport?: string | 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 transitGatewayId!: string | core.StringOut;

  constructor(name: string, args?: Ec2TransitGatewayMulticastDomainArgs) {
    super(name, "aws_ec2_transit_gateway_multicast_domain", args);
  }

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