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

export interface Ec2TransitGatewayMulticastDomainAssociationArgs
  extends core.ResourceArgs {
  subnetId: string | core.StringOut;

  transitGatewayAttachmentId: string | core.StringOut;

  transitGatewayMulticastDomainId: string | core.StringOut;
}

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

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

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

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

  constructor(
    name: string,
    args?: Ec2TransitGatewayMulticastDomainAssociationArgs
  ) {
    super(name, "aws_ec2_transit_gateway_multicast_domain_association", args);
  }

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