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 DsSubnetIdsArgs { /** * (Optional) Custom filter block as described below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) A map of tags, each pair of which must exactly match */ tags?: core.Map | core.MapOut; /** * (Required) The VPC ID that you want to filter from. */ vpcId: string | core.StringOut; } export class DsSubnetIds extends core.Data { /** * (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; /** * A set of all the subnet ids found. This data source will fail if none are found. */ @core.attr(String, { computed: true, kind: "array" }) public ids!: core.Array | core.ArrayOut; /** * (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; /** * (Required) The VPC ID that you want to filter from. */ @core.attr(String) public vpcId!: string | core.StringOut; constructor(name: string, args?: DsSubnetIdsArgs) { super(name, "aws_subnet_ids", args); } public override getNamespace(): string { return "aws_vpc"; } }