import * as core from "@terrascript/core"; export interface ReservationPlanSettingsArgs extends core.SchemaArgs { commitment: string | core.StringOut; renewalType: string | core.StringOut; reservedSlots: number | core.NumberOut; } export class ReservationPlanSettings extends core.Schema { @core.attr(String) public commitment!: string | core.StringOut; @core.attr(String) public renewalType!: string | core.StringOut; @core.attr(Number) public reservedSlots!: number | core.NumberOut; } export interface MediaConvertQueueArgs extends core.ResourceArgs { /** * (Optional) A description of the queue */ description?: string | core.StringOut; /** * (Required) A unique identifier describing the queue */ name: string | core.StringOut; /** * (Optional) Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values a * re `ON_DEMAND` or `RESERVED`. Default to `ON_DEMAND`. */ pricingPlan?: string | core.StringOut; /** * (Optional) A detail pricing plan of the reserved queue. See below. */ reservationPlanSettings?: ReservationPlanSettings; /** * (Optional) A status of the queue. Valid values are `ACTIVE` or `RESERVED`. Default to `PAUSED`. */ status?: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class MediaConvertQueue extends core.Resource { /** * The Arn of the queue */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) A description of the queue */ @core.attr(String) public description?: string | core.StringOut; /** * The same as `name` */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) A unique identifier describing the queue */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional) Specifies whether the pricing plan for the queue is on-demand or reserved. Valid values a * re `ON_DEMAND` or `RESERVED`. Default to `ON_DEMAND`. */ @core.attr(String) public pricingPlan?: string | core.StringOut; /** * (Optional) A detail pricing plan of the reserved queue. See below. */ @core.attr(ReservationPlanSettings, { computed: true }) public reservationPlanSettings?: ReservationPlanSettings; /** * (Optional) A status of the queue. Valid values are `ACTIVE` or `RESERVED`. Default to `PAUSED`. */ @core.attr(String) public status?: string | core.StringOut; /** * (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` co * nfiguration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-co * nfiguration-block) present, tags with matching keys will overwrite those defined at the provider-lev * el. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: MediaConvertQueueArgs) { super(name, "aws_media_convert_queue", args); } public override getNamespace(): string { return "aws_elemental_mediaconvert"; } }