This is a repository contains AWS CDK sample code that is used in this blog post, and shows you how to use this to configure an Amazon Managed Workflow Apache Airflow environment.
A related post, Setting up MWAA to use a KMS key is how to configure KMS using the code in this repo.