Learn R Programming

paws.storage (version 0.1.7)

s3_get_bucket_encryption: Returns the default encryption configuration for an Amazon S3 bucket

Description

Returns the default encryption configuration for an Amazon S3 bucket. For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption.

Usage

s3_get_bucket_encryption(Bucket)

Arguments

Bucket

[required] The name of the bucket from which the server-side encryption configuration is retrieved.

Request syntax

svc$get_bucket_encryption(
  Bucket = "string"
)

Details

To use this operation, you must have permission to perform the s3:GetEncryptionConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

The following operations are related to GetBucketEncryption:

  • PutBucketEncryption

  • DeleteBucketEncryption