

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 建立預留佇列
<a name="creating-a-reserved-queue"></a>

如果您決定為預留佇列購買額外容量，您可以這麼做。如需詳細資訊，請參閱[購買其他 RTS](purchasing-additional-capacity-for-a-reserved-queue.md)。下列索引標籤顯示建立預留佇列的不同選項。

------
#### [ Console ]

若要使用 MediaConvert 主控台建立預留佇列：

1. 在 MediaConvert 主控台中開啟[佇列](https://console.aws.amazon.com/mediaconvert/home#/queues/list)頁面。

1. 請選擇 **Create reserved queue (建立預留佇列)**。

1. 輸入**預留佇列名稱**。選擇性地輸入**描述**。

1. 或者，使用**預留轉碼槽 (RTS) 計算器**來協助判斷您需要多少 RTS。

1. 在**購買預留佇列 RTS 的承諾**區段中，輸入您要購買的預留轉碼槽 (RTS) 數量。

1. 檢閱並同意定價和時間承諾。**在您遞交定價計劃之後，就無法取消它。**或者，選取**每年自動續約**。

1. 請選擇 **Create reserved queue (建立預留佇列)**。然後檢閱您的預留佇列詳細資訊，然後選擇**購買。**

------
#### [ AWS CLI ]

下列`create-queue`範例會建立具有一個 RTS 插槽和 12 個月承諾的預留佇列。

```
aws mediaconvert create-queue \
	--region region-name-1 \
	--pricing-plan RESERVED \
	--reservation-plan-settings "Commitment=ONE_YEAR,RenewalType=EXPIRE,ReservedSlots=1" \
	--name ReservedQueue1 \
	--description "Example reserved queue description." \
	--tags "KeyName1=string1,KeyName2=string2"
```

如需如何使用 建立預留佇列的詳細資訊 AWS CLI，請參閱 [AWS CLI 命令參考](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/mediaconvert/create-queue.html)。

------