Skip to main content

@robhan-cdk-lib/aws_mwaa

AWS Cloud Development Kit (CDK) constructs for Amazon Managed Workflows for Apache Airflow (MWAA).

In aws-cdk-lib.aws_mwaa, there currently only exist L1 constructs for Amazon Managed Workflows for Apache Airflow (MWAA).

While helpful, they miss convenience like:

  • advanced parameter checking (min/max number values, string lengths, array lengths...) before CloudFormation deployment
  • proper parameter typing, e.g. enum values instead of strings
  • simply referencing other constructs instead of e.g. ARN strings

Those features are implemented here.

The CDK maintainers explain that publishing your own package is "by far the strongest signal you can give to the CDK team that a feature should be included within the core aws-cdk packages".

This project aims to develop aws_mwaa constructs to a maturity that can potentially be accepted to the CDK core.

It is not supported by AWS and is not endorsed by them. Please file issues in the GitHub repository if you find any.

Example use

import * as cdk from "aws-cdk-lib";
import { Construct } from "constructs";
import {
  AirflowVersion,
  Environment,
  EnvironmentClass,
} from "@robhan-cdk-lib/aws_mwaa";

export class AwsMwaaCdkStack extends cdk.Stack {
  constructor(scope: Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    const environment = new Environment(this, "Environment", {
      airflowConfigurationOptions: {
        key: "value",
      },
      name: "myEnvironment",
      airflowVersion: AirflowVersion.V3_0_6,
      environmentClass: EnvironmentClass.MW1_MEDIUM,
      minWebservers: 2,
      maxWebservers: 4,
      minWorkers: 2,
      maxWorkers: 4,
    });
  }
}

License

MIT

Metadata

Release files for robhan-cdk-lib.aws-mwaa 0.0.258

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robhan-cdk-lib.aws-mwaa 0.0.258
File Size Uploaded Provenance Actions
robhan_cdk_lib_aws_mwaa-0.0.258.tar.gz 101.0 kB Without provenance Details for robhan_cdk_lib_aws_mwaa-0.0.258.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for robhan-cdk-lib.aws-mwaa 0.0.258
File Interpreter ABI Platform Actions
robhan_cdk_lib_aws_mwaa-0.0.258-py3-none-any.whl Python 3 none any Details for robhan_cdk_lib_aws_mwaa-0.0.258-py3-none-any.whl

Total release size: 200.2 kB

Release files / robhan_cdk_lib_aws_mwaa-0.0.258.tar.gz

Download URL robhan_cdk_lib_aws_mwaa-0.0.258.tar.gz
Size 101.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9aa46fd059ffc5185f9975278f7e6d622503771788f1a187145aa7f16aea120e
BLAKE2b-256 checksum
How to use checksums
33832c4165466ba09ae55ec409bfe935106e41f968ad3bfa6d7b84837d2b263b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.14.7

Release files / robhan_cdk_lib_aws_mwaa-0.0.258-py3-none-any.whl

Download URL robhan_cdk_lib_aws_mwaa-0.0.258-py3-none-any.whl
Size 99.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d6951026d65a20583d6fe2be444bf939e3a7b3c63cd3481fe6b5b8ede0a3847
BLAKE2b-256 checksum
How to use checksums
5a03dfca2d23bab293c0438eb40a5e2c8c276989de79497c65aefc9a2324574f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.14.7

Security for robhan-cdk-lib.aws-mwaa 0.0.258

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.258 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page