Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BucketServerSideEncryption

import type { BucketServerSideEncryption } from "https://aws-api.deno.dev/v0.3/services/macie2.ts?docs=full";

Provides information about the default server-side encryption settings for an S3 bucket. For detailed information about these settings, see Setting default server-side encryption behavior for Amazon S3 buckets in the Amazon Simple Storage Service User Guide.

interface BucketServerSideEncryption {
kmsMasterKeyId?: string | null;
type?: Type | null;
}

§Properties

§
kmsMasterKeyId?: string | null
[src]

The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

§
type?: Type | null
[src]

The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are:

  • AES256 - New objects are encrypted with an Amazon S3 managed key. They use SSE-S3 encryption.
  • aws:kms - New objects are encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key. They use SSE-KMS encryption.
  • NONE - New objects aren't encrypted by default. Default encryption is disabled for the bucket.