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

S3Bucket

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

Provides information about the S3 bucket that a finding applies to.

interface S3Bucket {
allowsUnencryptedObjectUploads?: AllowsUnencryptedObjectUploads | null;
arn?: string | null;
createdAt?: Date | number | null;
defaultServerSideEncryption?: ServerSideEncryption | null;
name?: string | null;
owner?: S3BucketOwner | null;
publicAccess?: BucketPublicAccess | null;
tags?: KeyValuePair[] | null;
}

§Properties

§
allowsUnencryptedObjectUploads?: AllowsUnencryptedObjectUploads | null
[src]

Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

  • FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.
  • TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.
  • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of objects.
§
arn?: string | null
[src]

The Amazon Resource Name (ARN) of the bucket.

§
createdAt?: Date | number | null
[src]

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

§
defaultServerSideEncryption?: ServerSideEncryption | null
[src]

The type of server-side encryption that's used by default to encrypt objects in the bucket.

§
name?: string | null
[src]

The name of the bucket.

§
owner?: S3BucketOwner | null
[src]

The display name and canonical user ID for the Amazon Web Services account that owns the bucket.

§
publicAccess?: BucketPublicAccess | null
[src]

The permissions settings that determine whether the bucket is publicly accessible.

§
tags?: KeyValuePair[] | null
[src]

The tags that are associated with the bucket.