Skip to main content

Marley Tech AWS CDK Construct Library

Project description

Marley Tech AWS CDK Construct Library

A collection of useful AWS CDK Constructs.

Constructs

EventFunction

A Construct which provides the resource for triggering a Lambda Function via a EventBridge Rule. It includes the Dead Letter Queues for the delivery and the processing of the event.

Event Function Architecture Diagram

The Event Function Lambda is given the following Environment Variables:

  • PROCESSING_DLQ_ARN - the SQS Queue ARN of the Processing DLQ (to assist the Lambda Code to publish failed messages to this queue)
  • PROCESSING_DLQ_NAME - the SQS Queue Name of the Processing DLQ (to assist the Lambda Code to publish failed messages to this queue)

Resources

This Construct deploy the following resources:

  • Rule (EventBridge Rule) - The trigger or event rule which will be passed to the Event Function
  • Event Function (Lambda Function) - The code which will be executed
  • Delivery DLQ (SQS Queue) - A DLQ which undeliverable Events are pushed to (e.g. if the Event Function is unreachable)
  • Processing DLQ (SQS Queue) - A DLQ which the Event Fucntion may push Events to if it considers the Event to be unprocessable (e.g. if the Event is in an unexpected structure)
Alarms

The SQS Queues which act as DLQs have Alarms configured which are triggered when messages are posted to them. To subscribe to these Alarms, provide an SNS Topic for each DLQ.

Contributing

See CONTRIBUTING.md

Contributor Code Of Conduct

Contributor Covenant

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mt-awscdk-constructs-0.0.13.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mt_awscdk_constructs-0.0.13-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file mt-awscdk-constructs-0.0.13.tar.gz.

File metadata

  • Download URL: mt-awscdk-constructs-0.0.13.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.10

File hashes

Hashes for mt-awscdk-constructs-0.0.13.tar.gz
Algorithm Hash digest
SHA256 23e9da6ae65d2c5743b2814bae1b630b8d304d79b2b5c7c4a1167ab0ee9be6f7
MD5 41936fed07ae3bdb33d5c76f96c1a58e
BLAKE2b-256 4a7abc24c0712bed9e50d7ab4155b2686c4586513d7c87976444c17217fdabcf

See more details on using hashes here.

File details

Details for the file mt_awscdk_constructs-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: mt_awscdk_constructs-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.10

File hashes

Hashes for mt_awscdk_constructs-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 cc363b4e043c161698ecb19bdd9812882d8298a85ead8858ad8779dfc1703e5e
MD5 4aea26dc8fa1b48bd414e6498fd7dc0e
BLAKE2b-256 cc0eb18c33a1d7d4e7a0fa27a96b6e05edc8d0fd1f4ad9f383c6be4deba9b541

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page