CloudKitect S3 Logging Bucket component that uses S3_MANAGED encryption, enforces ssl, denies public access is versioned.

Default Configuration

Encryption: S3 Managed Versioned: True Removal Policy: Retain in Production

Default Alarms

None

Note that the default alarm uses the CcAlarm construct, which sets up an alarm action to notify the SNS Topic AlarmEventsTopic by default.

Examples

Default Usage

new CcLoggingBucket(this, "LogicalId", {});

Custom Configuration

new CcLoggingBucket(this, "LogicalId", {
enforceSSL: false
});

Compliance

It addresses the following compliance requirements

  1. Blocks public access
    • Risk Level: Medium
    • Compliance: PCI, HIPAA, GDPR, APRA, MAS, NIST4
    • Well Architected Pillar: Security
  2. S3 Bucket Logging Enabled
    • Risk Level: Medium
    • Compliance: PCI, HIPAA, GDPR, APRA, MAS, NIST4
    • Well Architected Pillar: Security
  3. Bucket versioning enabled in Production Environment
    • Risk Level: Low
    • Compliance: PCI, APRA, MAS, NIST4
    • Well Architected Pillar: Reliability
  4. Block S3 Bucket Public 'READ' Access
    • Risk Level: Very High
    • Compliance: PCI, GDPR, ARPA, MAS, NIST4
    • Well Architected Pillar: Security
  5. S3 Bucket should have Retain Policy in Production Environment
    • Risk Level: High
    • Compliance: NA
    • Well Architected Pillar: Reliability
  6. Only allow secure transport protocols
    • Risk Level: High
    • Compliance: PCI, APRA, MAS, NIST4
    • Well Architected Pillar: Security
  7. Server side encryption
    • Risk Level: High
    • Compliance: PCI, HIPAA, GDPR, APRA, MAS, NIST4
    • Well Architected Pillar: Security
  8. S3 Bucket Block ACLs
    • Risk Level: Very High
    • Compliance: PCI, APRA, MAS, NIST4
    • Well Architected Pillar: Security

Hierarchy

  • Bucket
    • CcLoggingBucket

Constructors

Methods

  • Returns LifecycleRule[]

  • Get access logs bucket, it will try to get the one that is provisioned by Landing Zone, if it can not find it, then it will create a new logging bucket

    Parameters

    Returns IBucket

Generated using TypeDoc