2017-04-19 2 views
1

私はCLIを使用してFIFOを作成しようとしているを通じてFIFO SQSを作成することはできませんが、私はは、CLI

aws sqs create-queue --queue-name my-queue.fifo --attributes FifoQueue=true --region us-east-1 

An error occurred (InvalidAttributeName) when calling the CreateQueue operation: Unknown Attribute FifoQueue. 

The doc pageが、これは有効な属性であることを言うエラーが発生します。私は何が欠けていますか?

答えて

4

SQS FIFOキューは、発売時にN.バージニアでは利用できなかった珍しいサービスの1つです。

参照:https://aws.amazon.com/about-aws/whats-new/2016/11/amazon-sqs-introduces-fifo-queues-with-exactly-once-processing-and-lower-prices-for-standard-queues/

FIFOキューは従うべき複数の領域に、米国東部(オハイオ州)、米国西部(オレゴン)の地域で利用可能になりました。

サポートされている地域のいずれかでコマンドを実行してみてください。

オハイオ:

aws sqs create-queue --queue-name my-queue.fifo --attributes FifoQueue=true --region us-east-2 

オレゴン:

aws sqs create-queue --queue-name my-queue.fifo --attributes FifoQueue=true --region us-west-2