import * as core from "@terrascript/core"; export interface AttachmentsArgs extends core.SchemaArgs { state: string | core.StringOut; vpcId: string | core.StringOut; } export class Attachments extends core.Schema { @core.attr(String, { computed: true }) public state!: string | core.StringOut; @core.attr(String, { computed: true }) public vpcId!: string | core.StringOut; } 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 DsInternetGatewayArgs { /** * (Optional) Custom filter block as described below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) The id of the specific Internet Gateway to retrieve. */ internetGatewayId?: string | core.StringOut; /** * (Optional) A map of tags, each pair of which must exactly match */ tags?: core.Map | core.MapOut; } export class DsInternetGateway extends core.Data { /** * The ARN of the Internet Gateway. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(Attachments, { computed: true, kind: "array" }) public attachments!: core.Array | core.ArrayOut; /** * (Optional) Custom filter block as described below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The id of the specific Internet Gateway to retrieve. */ @core.attr(String, { computed: true }) public internetGatewayId?: string | core.StringOut; /** * The ID of the AWS account that owns the internet gateway. */ @core.attr(String, { computed: true }) public ownerId!: string | core.StringOut; /** * (Optional) A map of tags, each pair of which must exactly match */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsInternetGatewayArgs) { super(name, "aws_internet_gateway", args); } public override getNamespace(): string { return "aws_vpc"; } }