com.amazonaws.auth.policy.resources

## クラス S3BucketResource

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

-     public class S3BucketResource
      extends Resource

  Represents a bucket resource involved in an AWS access control policy. This resource does not include any of the objects stored in the bucket. It represents only the bucket itself. This is the resource you want if you're writing a policy that restricts access to listing the contents of a bucket, deleting a bucket, setting bucket configuration options, or any other action that operates directly against a bucket (as opposed to an object).

  If you want to write a policy that controls access to objects stored in your bucket, see `S3ObjectResource`.

  Amazon S3 bucket resources can be used in policies with the following actions:

  - `S3Actions.CreateBucket`
  - `S3Actions.DeleteBucket`
  - `S3Actions.ListObjects`
  - `S3Actions.ListObjectVersions`
  - `S3Actions.ListBuckets`
  - `S3Actions.GetBucketAcl`
  - `S3Actions.SetBucketAcl`
  - `S3Actions.GetBucketVersioningConfiguration`
  - `S3Actions.SetBucketVersioningConfiguration`
  - `S3Actions.GetBucketRequesterPays`
  - `S3Actions.SetBucketRequesterPays`
  - `S3Actions.GetBucketLocation`
  - `S3Actions.GetBucketPolicy`
  - `S3Actions.SetBucketPolicy`
  - `S3Actions.SetBucketNotificationConfiguration`
  - `S3Actions.GetBucketNotificationConfiguration`

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

    コンストラクタ
    コンストラクタと説明
    `S3BucketResource(java.lang.String bucketName)` Constructs a new bucket resource that represents the the specified bucket but not any of the contained objects.

  - ### メソッドの概要

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

      `getId`

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

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

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

    - #### S3BucketResource

          public S3BucketResource(java.lang.String bucketName)

      Constructs a new bucket resource that represents the the specified bucket but not any of the contained objects.
      パラメータ:
        `bucketName` - The name of the bucket represented by this AWS access control policy resource.