public class S3BucketResource extends Resource
 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
 | Constructor and Description | 
|---|
S3BucketResource(String bucketName)
Constructs a new bucket resource that represents the the specified bucket
 but not any of the contained objects. 
 | 
public S3BucketResource(String bucketName)
bucketName - The name of the bucket represented by this AWS access control
            policy resource.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.