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

export interface Ec2TransitGatewayMulticastGroupMemberArgs
  extends core.ResourceArgs {
  groupIpAddress: string | core.StringOut;

  networkInterfaceId: string | core.StringOut;

  transitGatewayMulticastDomainId: string | core.StringOut;
}

export class Ec2TransitGatewayMulticastGroupMember extends core.Resource<Ec2TransitGatewayMulticastGroupMemberArgs> {
  @core.attr(String)
  public groupIpAddress!: string | core.StringOut;

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

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

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

  constructor(name: string, args?: Ec2TransitGatewayMulticastGroupMemberArgs) {
    super(name, "aws_ec2_transit_gateway_multicast_group_member", args);
  }

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