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 DsOpenzfsSnapshotArgs { /** * (Optional) One or more name/value pairs to filter off of. The */ filter?: core.Array | core.ArrayOut; /** * (Optional) If more than one result is returned, use the most recent snapshot. */ mostRecent?: boolean | core.BooleanOut; /** * The name of the snapshot. */ name?: string | core.StringOut; /** * (Optional) Returns information on a specific snapshot_id. */ snapshotIds?: core.Array | core.ArrayOut; /** * A list of Tag values, with a maximum of 50 elements. */ tags?: core.Map | core.MapOut; } export class DsOpenzfsSnapshot extends core.Data { /** * Amazon Resource Name of the snapshot. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The time that the resource was created. */ @core.attr(String, { computed: true }) public creationTime!: string | core.StringOut; /** * (Optional) One or more name/value pairs to filter off of. The */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; /** * Identifier of the snapshot, e.g., `fsvolsnap-12345678` */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) If more than one result is returned, use the most recent snapshot. */ @core.attr(Boolean) public mostRecent?: boolean | core.BooleanOut; /** * The name of the snapshot. */ @core.attr(String) public name?: string | core.StringOut; /** * The ID of the snapshot. */ @core.attr(String, { computed: true }) public snapshotId!: string | core.StringOut; /** * (Optional) Returns information on a specific snapshot_id. */ @core.attr(String, { kind: "array" }) public snapshotIds?: core.Array | core.ArrayOut; /** * A list of Tag values, with a maximum of 50 elements. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * The ID of the volume that the snapshot is of. */ @core.attr(String, { computed: true }) public volumeId!: string | core.StringOut; constructor(name: string, args?: DsOpenzfsSnapshotArgs) { super(name, "aws_fsx_openzfs_snapshot", args); } public override getNamespace(): string { return "aws_fsx"; } }