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 DsVolumesArgs { /** * (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; } export class DsVolumes extends core.Data { /** * (Optional) Custom filter block as described below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * AWS Region. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * A set of all the EBS Volume IDs found. This data source will fail if */ @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, { kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsVolumesArgs) { super(name, "aws_ebs_volumes", args); } public override getNamespace(): string { return "aws_ebs"; } }