com.amazonaws.auth.policy.resources

## クラス SQSQueueResource

- java.lang.Object
- - com.amazonaws.auth.policy.Resource
  - - com.amazonaws.auth.policy.resources.SQSQueueResource

-     public class SQSQueueResource
      extends Resource

  AWS access control policy resource that identifies an Amazon SQS queue.

  This is an older style of referencing an Amazon SQS queue. You can also use the queue's Amazon Resource Name (ARN), which you can obtain by calling `AmazonSQS.getQueueAttributes(com.amazonaws.services.sqs.model.GetQueueAttributesRequest)` and requesting the "QueueArn" attribute.

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `SQSQueueResource(java.lang.String accountId, java.lang.String queueName)` Constructs a new SQS queue resource for an access control policy.

  - ### メソッドの概要

    - ### クラスから継承されたメソッド com.amazonaws.auth.policy.Resource

      `getId`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### SQSQueueResource

          public SQSQueueResource(java.lang.String accountId,
                          java.lang.String queueName)

      Constructs a new SQS queue resource for an access control policy. A policy statement using this resource will allow or deny actions on the specified queue.
      パラメータ:
        `accountId` - The AWS account ID of the queue owner.
        `queueName` - The name of the Amazon SQS queue.