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 DsAvailabilityZonesArgs { /** * (Optional) Set to `true` to include all Availability Zones and Local Zones regardless of your opt in * status. */ allAvailabilityZones?: boolean | core.BooleanOut; /** * (Optional) List of Availability Zone names to exclude. */ excludeNames?: core.Array | core.ArrayOut; /** * (Optional) List of Availability Zone IDs to exclude. */ excludeZoneIds?: core.Array | core.ArrayOut; /** * (Optional) Configuration block(s) for filtering. Detailed below. */ filter?: core.Array | core.ArrayOut; /** * (Optional) Allows to filter list of Availability Zones based on their */ state?: string | core.StringOut; } export class DsAvailabilityZones extends core.Data { /** * (Optional) Set to `true` to include all Availability Zones and Local Zones regardless of your opt in * status. */ @core.attr(Boolean) public allAvailabilityZones?: boolean | core.BooleanOut; /** * (Optional) List of Availability Zone names to exclude. */ @core.attr(String, { kind: "array" }) public excludeNames?: core.Array | core.ArrayOut; /** * (Optional) List of Availability Zone IDs to exclude. */ @core.attr(String, { kind: "array" }) public excludeZoneIds?: core.Array | core.ArrayOut; /** * (Optional) Configuration block(s) for filtering. Detailed below. */ @core.attr(Filter, { kind: "array" }) public filter?: core.Array | core.ArrayOut; @core.attr(String, { computed: true, kind: "array" }) public groupNames!: core.Array | core.ArrayOut; /** * Region of the Availability Zones. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * A list of the Availability Zone names available to the account. */ @core.attr(String, { computed: true, kind: "array" }) public names!: core.Array | core.ArrayOut; /** * (Optional) Allows to filter list of Availability Zones based on their */ @core.attr(String) public state?: string | core.StringOut; /** * A list of the Availability Zone IDs available to the account. */ @core.attr(String, { computed: true, kind: "array" }) public zoneIds!: core.Array | core.ArrayOut; constructor(name: string, args?: DsAvailabilityZonesArgs) { super(name, "aws_availability_zones", args); } public override getNamespace(): string { return "aws_ec2"; } }