import * as core from "@terrascript/core"; export interface ComputeEnvironmentOrderArgs extends core.SchemaArgs { computeEnvironment: string | core.StringOut; order: number | core.NumberOut; } export class ComputeEnvironmentOrder extends core.Schema { @core.attr(String, { computed: true }) public computeEnvironment!: string | core.StringOut; @core.attr(Number, { computed: true }) public order!: number | core.NumberOut; } export interface DsJobQueueArgs { /** * (Required) The name of the job queue. */ name: string | core.StringOut; /** * Key-value map of resource tags */ tags?: core.Map | core.MapOut; } export class DsJobQueue extends core.Data { /** * The ARN of the job queue. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The compute environments that are attached to the job queue and the order in */ @core.attr(ComputeEnvironmentOrder, { computed: true, kind: "array" }) public computeEnvironmentOrder!: | core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the job queue. */ @core.attr(String) public name!: string | core.StringOut; /** * The priority of the job queue. Job queues with a higher priority are evaluated first when */ @core.attr(Number, { computed: true }) public priority!: number | core.NumberOut; /** * The ARN of the fair share scheduling policy. If this attribute has a value, the job queue uses a fai * r share scheduling policy. If this attribute does not have a value, the job queue uses a first in, f * irst out (FIFO) scheduling policy. */ @core.attr(String, { computed: true }) public schedulingPolicyArn!: string | core.StringOut; /** * Describes the ability of the queue to accept new jobs (for example, `ENABLED` or `DISABLED`). */ @core.attr(String, { computed: true }) public state!: string | core.StringOut; /** * The current status of the job queue (for example, `CREATING` or `VALID`). */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * A short, human-readable string to provide additional details about the current status */ @core.attr(String, { computed: true }) public statusReason!: string | core.StringOut; /** * Key-value map of resource tags */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; constructor(name: string, args?: DsJobQueueArgs) { super(name, "aws_batch_job_queue", args); } public override getNamespace(): string { return "aws_batch"; } }