Well Architected SQS Queue

Default Configuration

Encryption: SQS Managed Removal Policy: Retain in Production Enforce SSL: true

Default Alarms

  1. Approximate Number Of Messages Delayed Alarm
    • Risk Level: Low
    • Well Architected Pillar: Performance
  2. Approximate Number Of Messages Visible Alarm for Dead letter queues
    • Risk Level: Medium
    • Well Architected Pillar: Reliability, Operational Excellence

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

Examples

Default Usage

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

Custom Configuration

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

Compliance

It addresses the following compliance requirements

  1. Server side encryption
    • Risk Level: High
    • Compliance: PCI, HIPAA, GDPR, APRA, MAS, NIST4
    • Well Architected Pillar: Security
  2. Dead letter queue for each queue
    • Risk Level: Low
    • Compliance: NIST4
    • Well Architected Pillar: Reliability, Operational Excellence
  3. Unprocessed messages alerts
    • Risk Level: Medium
    • Compliance: NIST4
    • Well Architected Pillar: Reliability

Hierarchy

Constructors

Properties

Methods

Constructors

  • Parameters

    Returns WaQueue

Properties

alarms: Alarms = ...

Methods

  • This Alarm should be triggered when the number of delayed messages are over 10 in the queue.

    Returns void

Generated using TypeDoc