NAME

Paws::S3::ServerSideEncryptionRule

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::S3::ServerSideEncryptionRule object:

$service_obj->Method(Att1 => { ApplyServerSideEncryptionByDefault => $value, ..., BucketKeyEnabled => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::S3::ServerSideEncryptionRule object:

$result = $service_obj->Method(...);
$result->Att1->ApplyServerSideEncryptionByDefault

DESCRIPTION

Specifies the default server-side encryption configuration.

ATTRIBUTES

ApplyServerSideEncryptionByDefault => Paws::S3::ServerSideEncryptionByDefault

Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.

BucketKeyEnabled => Bool

Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the BucketKeyEnabled element to true causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled.

For more information, see Amazon S3 Bucket Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) in the Amazon S3 User Guide.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::S3

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues