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 DsSnapshotIdsArgs { /** * (Optional) One or more name/value pairs to filter off of. There are */ filter?: core.Array | core.ArrayOut; /** * (Optional) Returns the snapshots owned by the specified owner id. Multiple owners can be specified. */ owners?: core.Array | core.ArrayOut; /** * (Optional) One or more AWS accounts IDs that can create volumes from the snapshot. */ restorableByUserIds?: core.Array | core.ArrayOut; } export class DsSnapshotIds extends core.Data { /** * (Optional) One or more name/value pairs to filter off of. There are */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * AWS Region. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Set of EBS snapshot IDs, sorted by creation time in descending order. */ @core.attr(String, { computed: true, kind: "array" }) public ids!: core.Array | core.ArrayOut; /** * (Optional) Returns the snapshots owned by the specified owner id. Multiple owners can be specified. */ @core.attr(String, { kind: "array" }) public owners?: core.Array | core.ArrayOut; /** * (Optional) One or more AWS accounts IDs that can create volumes from the snapshot. */ @core.attr(String, { kind: "array" }) public restorableByUserIds?: | core.Array | core.ArrayOut; constructor(name: string, args?: DsSnapshotIdsArgs) { super(name, "aws_ebs_snapshot_ids", args); } public override getNamespace(): string { return "aws_ebs"; } }