Update an MWAA environment.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
update-environment
[--airflow-configuration-options <value>]
[--airflow-version <value>]
[--dag-s3-path <value>]
[--environment-class <value>]
[--execution-role-arn <value>]
[--logging-configuration <value>]
[--max-workers <value>]
--name <value>
[--network-configuration <value>]
[--plugins-s3-object-version <value>]
[--plugins-s3-path <value>]
[--requirements-s3-object-version <value>]
[--requirements-s3-path <value>]
[--source-bucket-arn <value>]
[--webserver-access-mode <value>]
[--weekly-maintenance-window-start <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--airflow-configuration-options
(map)
The Airflow Configuration Options to update of your Amazon MWAA environment.
key -> (string)
value -> (string)
Shorthand Syntax:
KeyName1=string,KeyName2=string
JSON Syntax:
{"string": "string"
...}
--airflow-version
(string)
The Airflow Version to update of your Amazon MWAA environment.
--dag-s3-path
(string)
The Dags folder S3 Path to update of your Amazon MWAA environment.
--environment-class
(string)
The Environment Class to update of your Amazon MWAA environment.
--execution-role-arn
(string)
The Executio Role ARN to update of your Amazon MWAA environment.
--logging-configuration
(structure)
The Logging Configuration to update of your Amazon MWAA environment.
DagProcessingLogs -> (structure)
A JSON blob that provides configuration to use for logging with respect to the various Apache Airflow services: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, and WorkerLogs.
Enabled -> (boolean)
Defines that the logging module is enabled.
LogLevel -> (string)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
SchedulerLogs -> (structure)
A JSON blob that provides configuration to use for logging with respect to the various Apache Airflow services: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, and WorkerLogs.
Enabled -> (boolean)
Defines that the logging module is enabled.
LogLevel -> (string)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
TaskLogs -> (structure)
A JSON blob that provides configuration to use for logging with respect to the various Apache Airflow services: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, and WorkerLogs.
Enabled -> (boolean)
Defines that the logging module is enabled.
LogLevel -> (string)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
WebserverLogs -> (structure)
A JSON blob that provides configuration to use for logging with respect to the various Apache Airflow services: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, and WorkerLogs.
Enabled -> (boolean)
Defines that the logging module is enabled.
LogLevel -> (string)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
WorkerLogs -> (structure)
A JSON blob that provides configuration to use for logging with respect to the various Apache Airflow services: DagProcessingLogs, SchedulerLogs, TaskLogs, WebserverLogs, and WorkerLogs.
Enabled -> (boolean)
Defines that the logging module is enabled.
LogLevel -> (string)
Defines the log level, which can be CRITICAL, ERROR, WARNING, or INFO.
Shorthand Syntax:
DagProcessingLogs={Enabled=boolean,LogLevel=string},SchedulerLogs={Enabled=boolean,LogLevel=string},TaskLogs={Enabled=boolean,LogLevel=string},WebserverLogs={Enabled=boolean,LogLevel=string},WorkerLogs={Enabled=boolean,LogLevel=string}
JSON Syntax:
{
"DagProcessingLogs": {
"Enabled": true|false,
"LogLevel": "CRITICAL"|"ERROR"|"WARNING"|"INFO"|"DEBUG"
},
"SchedulerLogs": {
"Enabled": true|false,
"LogLevel": "CRITICAL"|"ERROR"|"WARNING"|"INFO"|"DEBUG"
},
"TaskLogs": {
"Enabled": true|false,
"LogLevel": "CRITICAL"|"ERROR"|"WARNING"|"INFO"|"DEBUG"
},
"WebserverLogs": {
"Enabled": true|false,
"LogLevel": "CRITICAL"|"ERROR"|"WARNING"|"INFO"|"DEBUG"
},
"WorkerLogs": {
"Enabled": true|false,
"LogLevel": "CRITICAL"|"ERROR"|"WARNING"|"INFO"|"DEBUG"
}
}
--max-workers
(integer)
The Maximum Workers to update of your Amazon MWAA environment.
--name
(string)
The name of your Amazon MWAA environment that you wish to update.
--network-configuration
(structure)
The Network Configuration to update of your Amazon MWAA environment.
SecurityGroupIds -> (list)
Provide a JSON list of 1 or more security groups IDs by name, in the same VPC as the subnets.
(string)
Shorthand Syntax:
SecurityGroupIds=string,string
JSON Syntax:
{
"SecurityGroupIds": ["string", ...]
}
--plugins-s3-object-version
(string)
The Plugins.zip S3 Object Version to update of your Amazon MWAA environment.
--plugins-s3-path
(string)
The Plugins.zip S3 Path to update of your Amazon MWAA environment.
--requirements-s3-object-version
(string)
The Requirements.txt S3 ObjectV ersion to update of your Amazon MWAA environment.
--requirements-s3-path
(string)
The Requirements.txt S3 Path to update of your Amazon MWAA environment.
--source-bucket-arn
(string)
The S3 Source Bucket ARN to update of your Amazon MWAA environment.
--webserver-access-mode
(string)
The Webserver Access Mode to update of your Amazon MWAA environment.
Possible values:
PRIVATE_ONLY
PUBLIC_ONLY
--weekly-maintenance-window-start
(string)
The Weekly Maintenance Window Start to update of your Amazon MWAA environment.
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
See ‘aws help’ for descriptions of global parameters.