update-environment
Update an existing MWAA environment's configuration: Airflow version, environment class, worker count, DAG S3 path, or IAM roles. Only specified parameters are changed, asynchronously.
Instructions
Update an existing MWAA environment.
Updates the specified MWAA environment configuration. Only provided parameters
will be updated. This operation is asynchronous.
Requires the --allow-write flag.
Args:
ctx: The MCP context.
environment_name: Name of the environment to update.
airflow_version: Optional new Airflow version.
environment_class: Optional new environment class.
max_workers: Optional new max workers.
dag_s3_path: Optional new DAG S3 path.
execution_role_arn: Optional new execution role ARN.
source_bucket_arn: Optional new source bucket ARN.
region: AWS region override.
profile_name: AWS CLI profile name override.
Returns:
CallToolResult with the update confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | AWS region. Defaults to AWS_REGION env var or us-east-1. | |
| dag_s3_path | No | New relative path to the DAGs folder in S3. | |
| max_workers | No | New maximum number of workers. | |
| profile_name | No | AWS CLI profile name. Falls back to AWS_PROFILE env var. | |
| airflow_version | No | New Apache Airflow version. | |
| environment_name | Yes | Name of the MWAA environment to update. | |
| environment_class | No | New environment class: "mw1.small", "mw1.medium", or "mw1.large". | |
| source_bucket_arn | No | New S3 bucket ARN. | |
| execution_role_arn | No | New IAM execution role ARN. |