ServiceResource / Sub-Resource / BucketPolicy
BucketPolicy#
- S3.ServiceResource.BucketPolicy(bucket_name)#
Creates a BucketPolicy resource.:
bucket_policy = s3.BucketPolicy('bucket_name')
- Parameters:
bucket_name (string) – The BucketPolicy’s bucket_name identifier. This must be set.
- Return type:
- Returns:
A BucketPolicy resource