aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.68k stars 3.93k forks source link

L2 CDK Construct for AirFlow #32110

Open bodazyphir opened 2 days ago

bodazyphir commented 2 days ago

Describe the feature

There does not seem to be an L2 construct for AirFlow in the CDK library "aws-cdk-lib". The only way to code an airflow environment is with the CloudFormation L1 construct "CfnEnvironment". This however does not facilitate dependency chaining as you cannot make an L1 construct dependant on L2 constructs , please can this be remedied.

Use Case

Creating L2 AirFlow infrastructure and chaining it to other L2 infra as a dependancy.

Proposed Solution

Write an L2 method for AirFlow and add it to the node aws-cdk-lib library.

Other Information

No response

Acknowledgements

CDK version used

2.157.0

Environment details (OS name and version, etc.)

Ubuntu 22.04.3 LTS

pahud commented 2 days ago

Hi

Are you proposing the L2 for MWAA? https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html https://github.com/aws/aws-cdk/tree/main/packages/aws-cdk-lib/aws-mwaa

bodazyphir commented 4 hours ago

Hi Pahud,

Yes that is bang on the money.

Regards, Stephen