Fugue.AWS.S3.Bucket.Policy.SSE

Table of Contents

Module Members

kms

(Function)

Generate a bucket policy that requires server side encryption using KMS managed keys (SSE-KMS) for uploads.

See http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html for more details on SSE-KMS.

Type Signature

 fun (String) -> String
Argument: bucketName

The name of the bucket this policy will be applied to.

Type: String

Returns:

A string containing the policy.

Type: String

s3

(Function)

Generate a bucket policy that requires server side encryption using S3 managed keys (SSE-S3) for uploads.

See http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html for more details on SSE-S3.

Type Signature

 fun (String) -> String
Argument: bucketName

The name of the bucket this policy will be applied to.

Type: String

Returns:

A string containing the policy.

Type: String