paws.storage (version 0.1.0)

s3_put_bucket_encryption: Creates a new server-side encryption configuration (or replaces an existing one, if present)

Description

Creates a new server-side encryption configuration (or replaces an existing one, if present).

Usage

s3_put_bucket_encryption(Bucket, ContentMD5,
  ServerSideEncryptionConfiguration)

Arguments

Bucket

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

ContentMD5

The base64-encoded 128-bit MD5 digest of the server-side encryption configuration. This parameter is auto-populated when using the command from the CLI

ServerSideEncryptionConfiguration

[required]

Request syntax

svc$put_bucket_encryption(
  Bucket = "string",
  ContentMD5 = "string",
  ServerSideEncryptionConfiguration = list(
    Rules = list(
      list(
        ApplyServerSideEncryptionByDefault = list(
          SSEAlgorithm = "AES256"|"aws:kms",
          KMSMasterKeyID = "string"
        )
      )
    )
  )
)