pause-dag
Pause a DAG in an Amazon MWAA environment to stop new scheduled runs. Specify the DAG ID; requires the allow-write flag.
Instructions
Pause a DAG.
Sets the DAG's paused status to true, preventing new scheduled runs.
Requires the --allow-write flag.
Args:
ctx: The MCP context.
environment_name: Name of the MWAA environment.
dag_id: The DAG identifier to pause.
region: AWS region override.
profile_name: AWS CLI profile name override.
Returns:
CallToolResult confirming the DAG was paused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | The DAG ID to pause. | |
| region | No | AWS region override. | |
| profile_name | No | AWS CLI profile name override. | |
| environment_name | No | Name of the MWAA environment. If omitted and only one environment exists, it is used automatically. |