View source: R/mwaa_operations.R
mwaa_update_environment | R Documentation |
Updates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
See https://www.paws-r-sdk.com/docs/mwaa_update_environment/ for full documentation.
mwaa_update_environment(
Name,
ExecutionRoleArn = NULL,
AirflowVersion = NULL,
SourceBucketArn = NULL,
DagS3Path = NULL,
PluginsS3Path = NULL,
PluginsS3ObjectVersion = NULL,
RequirementsS3Path = NULL,
RequirementsS3ObjectVersion = NULL,
StartupScriptS3Path = NULL,
StartupScriptS3ObjectVersion = NULL,
AirflowConfigurationOptions = NULL,
EnvironmentClass = NULL,
MaxWorkers = NULL,
NetworkConfiguration = NULL,
LoggingConfiguration = NULL,
WeeklyMaintenanceWindowStart = NULL,
WebserverAccessMode = NULL,
MinWorkers = NULL,
Schedulers = NULL,
MinWebservers = NULL,
MaxWebservers = NULL
)
Name |
[required] The name of your Amazon MWAA environment. For example,
|
ExecutionRoleArn |
The Amazon Resource Name (ARN) of the execution role in IAM that allows
MWAA to access Amazon Web Services resources in your environment. For
example, |
AirflowVersion |
The Apache Airflow version for your environment. To upgrade your environment, specify a newer version of Apache Airflow supported by Amazon MWAA. Before you upgrade an environment, make sure your requirements, DAGs, plugins, and other resources used in your workflows are compatible with the new Apache Airflow version. For more information about updating your resources, see Upgrading an Amazon MWAA environment. Valid values: |
SourceBucketArn |
The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG
code and supporting files are stored. For example,
|
DagS3Path |
The relative path to the DAGs folder on your Amazon S3 bucket. For
example, |
PluginsS3Path |
The relative path to the |
PluginsS3ObjectVersion |
The version of the plugins.zip file on your Amazon S3 bucket. You must
specify a version each time a |
RequirementsS3Path |
The relative path to the |
RequirementsS3ObjectVersion |
The version of the requirements.txt file on your Amazon S3 bucket. You
must specify a version each time a |
StartupScriptS3Path |
The relative path to the startup shell script in your Amazon S3 bucket.
For example, Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process. You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see Using a startup script. |
StartupScriptS3ObjectVersion |
The version of the startup shell script in your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file every time you update the script. Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:
For more information, see Using a startup script. |
AirflowConfigurationOptions |
A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. For more information, see Apache Airflow configuration options. |
EnvironmentClass |
The environment class type. Valid values: |
MaxWorkers |
The maximum number of workers that you want to run in your environment.
MWAA scales the number of Apache Airflow workers up to the number you
specify in the |
NetworkConfiguration |
The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see About networking on Amazon MWAA. |
LoggingConfiguration |
The Apache Airflow log types to send to CloudWatch Logs. |
WeeklyMaintenanceWindowStart |
The day and time of the week in Coordinated Universal Time (UTC) 24-hour
standard time to start weekly maintenance updates of your environment in
the following format: |
WebserverAccessMode |
The Apache Airflow Web server access mode. For more information, see Apache Airflow access modes. |
MinWorkers |
The minimum number of workers that you want to run in your environment.
MWAA scales the number of Apache Airflow workers up to the number you
specify in the |
Schedulers |
The number of Apache Airflow schedulers to run in your Amazon MWAA environment. |
MinWebservers |
The minimum number of web servers that you want to run in your
environment. Amazon MWAA scales the number of Apache Airflow web servers
up to the number you specify for Valid values: Accepts between |
MaxWebservers |
The maximum number of web servers that you want to run in your
environment. Amazon MWAA scales the number of Apache Airflow web servers
up to the number you specify for Valid values: Accepts between |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.