import * as core from "@terrascript/core"; export interface FilterArgs extends core.SchemaArgs { name: string | core.StringOut; values: core.Array | core.ArrayOut; } export class Filter extends core.Schema { @core.attr(String) public name!: string | core.StringOut; @core.attr(String, { kind: "array" }) public values!: core.Array | core.ArrayOut; } export interface AssociationsArgs extends core.SchemaArgs { subnetId: string | core.StringOut; transitGatewayAttachmentId: string | core.StringOut; } export class Associations extends core.Schema { @core.attr(String, { computed: true }) public subnetId!: string | core.StringOut; @core.attr(String, { computed: true }) public transitGatewayAttachmentId!: string | core.StringOut; } export interface SourcesArgs extends core.SchemaArgs { groupIpAddress: string | core.StringOut; networkInterfaceId: string | core.StringOut; } export class Sources extends core.Schema { @core.attr(String, { computed: true }) public groupIpAddress!: string | core.StringOut; @core.attr(String, { computed: true }) public networkInterfaceId!: string | core.StringOut; } export interface MembersArgs extends core.SchemaArgs { groupIpAddress: string | core.StringOut; networkInterfaceId: string | core.StringOut; } export class Members extends core.Schema { @core.attr(String, { computed: true }) public groupIpAddress!: string | core.StringOut; @core.attr(String, { computed: true }) public networkInterfaceId!: string | core.StringOut; } export interface DsEc2TransitGatewayMulticastDomainArgs { /** * (Optional) One or more configuration blocks containing name-values filters. Detailed below. */ filter?: core.Array | core.ArrayOut; /** * Key-value tags for the EC2 Transit Gateway Multicast Domain. */ tags?: core.Map | core.MapOut; /** * (Optional) Identifier of the EC2 Transit Gateway Multicast Domain. */ transitGatewayMulticastDomainId?: string | core.StringOut; } export class DsEc2TransitGatewayMulticastDomain extends core.Data { /** * EC2 Transit Gateway Multicast Domain Amazon Resource Name (ARN). */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * EC2 Transit Gateway Multicast Domain Associations */ @core.attr(Associations, { computed: true, kind: "array" }) public associations!: core.Array | core.ArrayOut; /** * Whether to automatically accept cross-account subnet associations that are associated with the EC2 T * ransit Gateway Multicast Domain. */ @core.attr(String, { computed: true }) public autoAcceptSharedAssociations!: string | core.StringOut; /** * (Optional) One or more configuration blocks containing name-values filters. Detailed below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * EC2 Transit Gateway Multicast Domain identifier. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Whether to enable Internet Group Management Protocol (IGMP) version 2 for the EC2 Transit Gateway Mu * lticast Domain. */ @core.attr(String, { computed: true }) public igmpv2Support!: string | core.StringOut; /** * EC2 Multicast Domain Group Members */ @core.attr(Members, { computed: true, kind: "array" }) public members!: core.Array | core.ArrayOut; /** * Identifier of the AWS account that owns the EC2 Transit Gateway Multicast Domain. */ @core.attr(String, { computed: true }) public ownerId!: string | core.StringOut; /** * EC2 Multicast Domain Group Sources */ @core.attr(Sources, { computed: true, kind: "array" }) public sources!: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public state!: string | core.StringOut; /** * Whether to enable support for statically configuring multicast group sources for the EC2 Transit Gat * eway Multicast Domain. */ @core.attr(String, { computed: true }) public staticSourcesSupport!: string | core.StringOut; /** * Key-value tags for the EC2 Transit Gateway Multicast Domain. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * The ID of the transit gateway attachment. */ @core.attr(String, { computed: true }) public transitGatewayAttachmentId!: string | core.StringOut; /** * EC2 Transit Gateway identifier. */ @core.attr(String, { computed: true }) public transitGatewayId!: string | core.StringOut; /** * (Optional) Identifier of the EC2 Transit Gateway Multicast Domain. */ @core.attr(String, { computed: true }) public transitGatewayMulticastDomainId?: string | core.StringOut; constructor(name: string, args?: DsEc2TransitGatewayMulticastDomainArgs) { super(name, "aws_ec2_transit_gateway_multicast_domain", args); } public override getNamespace(): string { return "aws_transit_gateway"; } }