

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# Amazon SQSアクセスコントロールプロセスのワークフロー
<a name="sqs-creating-custom-policies-process-workflow"></a>

以下の図は、 Amazon SQSアクセスポリシー言語と アクセスコントロールの全般的なワークフローを表しています。

![\[Amazon SQS アクセスポリシー言語を使用したアクセスコントロールの全般的なワークフロー。\]](http://docs.aws.amazon.com/ja_jp/AWSSimpleQueueService/latest/SQSDeveloperGuide/images/AccessPolicyLanguage_Basic_Flow.png)


![\[Figure one in the previous diagram.\]](http://docs.aws.amazon.com/ja_jp/AWSSimpleQueueService/latest/SQSDeveloperGuide/images/number-1-red.png)キューの Amazon SQSポリシーを記述します。

![\[Figure two in the previous diagram.\]](http://docs.aws.amazon.com/ja_jp/AWSSimpleQueueService/latest/SQSDeveloperGuide/images/number-2-red.png) ポリシーを にアップロードします AWS。この AWS サービスは、ポリシーのアップロードに使用する API を提供します。たとえば、特定の Amazon SQSキュー用のポリシーをアップロードするために Amazon SQS`SetQueueAttributes`アクションを使用します。

![\[Figure three in the previous diagram.\]](http://docs.aws.amazon.com/ja_jp/AWSSimpleQueueService/latest/SQSDeveloperGuide/images/number-3-red.png)ある人物から、Amazon SQSキューの使用を求めるリクエストが送信されます。

![\[Figure four in the previous diagram.\]](http://docs.aws.amazon.com/ja_jp/AWSSimpleQueueService/latest/SQSDeveloperGuide/images/number-4-red.png)Amazon SQS はすべての利用可能な Amazon SQSポリシーを分析し、該当するものを判断します。

![\[Figure five in the previous diagram.\]](http://docs.aws.amazon.com/ja_jp/AWSSimpleQueueService/latest/SQSDeveloperGuide/images/number-5-red.png)Amazon SQSがポリシーを評価し、キューの使用許可をリクエスタに付与するかどうかを決定します。

![\[Figure six in the previous diagram.\]](http://docs.aws.amazon.com/ja_jp/AWSSimpleQueueService/latest/SQSDeveloperGuide/images/number-6-red.png)ポリシーの評価結果に基づいて、Amazon SQSはリクエスタに `Access denied` エラーを返すか、リクエストの処理を続行します。