Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines a Secure S3 Bucket object. By default a KMS CMK is generated and associated to the bucket.

Hierarchy

  • Construct
    • Bucket

Index

Constructors

  • Parameters

    Returns Bucket

Properties

bucket: Bucket
cmk?: Key
encryptionType: BucketEncryption = s3.BucketEncryption.KMS

Bucket encryption type set to a default value of BucketEncryption.KMS, which will be determined later based on other properties

lifecycleRules: LifecycleRule[] = []
node: Node

The tree node.

stability

stable

serverAccessLogBucket: undefined | IBucket
serverAccessLogsPrefix: undefined | string

Methods

  • addValidation(): string[]
  • Returns string[]

  • getKey(): Key
  • Returns Key

  • getS3Bucket(): IBucket
  • Returns IBucket

  • setAccessLogBucketProperties(): void
  • Set Server access log bucket property

    Returns void

  • setEncryptionType(): void
  • Function to set bucket encryption type

    Returns void

  • setLifeCycleRules(): void
  • Returns void

  • toString(): string
  • Returns a string representation of this construct.

    stability

    stable

    Returns string

  • isConstruct(x: any): x is Construct
  • (deprecated) Checks if x is a construct.

    deprecated

    use x instanceof Construct instead

    Parameters

    • x: any

      Any object.

    Returns x is Construct

    true if x is an object created from a class which extends Construct.

Generated using TypeDoc