Environment
Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
Types
Properties
A list of key-value pairs containing the Apache Airflow configuration options attached to your environment. For more information, see Apache Airflow configuration options.
The Apache Airflow version on your environment.
The queue ARN for the environment's Celery Executor. Amazon MWAA uses a Celery Executor to distribute tasks across multiple workers. When you create an environment in a shared VPC, you must provide access to the Celery Executor queue from your VPC.
The relative path to the DAGs folder in your Amazon S3 bucket. For example, s3://mwaa-environment/dags
. For more information, see Adding or updating DAGs.
The VPC endpoint for the environment's Amazon RDS database.
Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to SERVICE
, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER
, you must create, and manage, the VPC endpoints in your VPC.
The environment class type. Valid values: mw1.micro
, mw1.small
, mw1.medium
, mw1.large
, mw1.xlarge
, and mw1.2xlarge
. For more information, see Amazon MWAA environment class.
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, arn:aws:iam::123456789:role/my-execution-role
. For more information, see Amazon MWAA Execution role.
The status of the last update on the environment.
The Apache Airflow logs published to CloudWatch Logs.
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 MaxWebservers
when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in MaxWebserers
. As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers
.
The maximum number of workers that run in your environment. For example, 20
.
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 MaxWebservers
when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers
.
The minimum number of workers that run in your environment. For example, 2
.
Describes 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.
The version of the plugins.zip
file in your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file.
The relative path to the file in your Amazon S3 bucket. For example, s3://mwaa-environment/plugins.zip
. For more information, see Installing custom plugins.
The version of the requirements.txt
file on your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file.
The relative path to the requirements.txt
file in your Amazon S3 bucket. For example, s3://mwaa-environment/requirements.txt
. For more information, see Installing Python dependencies.
The number of Apache Airflow schedulers that run in your Amazon MWAA environment.
The Amazon Resource Name (ARN) for the service-linked role of the environment. For more information, see Amazon MWAA Service-linked role.
The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For example, arn:aws:s3:::my-airflow-bucket-unique-name
. For more information, see Create an Amazon S3 bucket for Amazon MWAA.
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.
The relative path to the startup shell script in your Amazon S3 bucket. For example, s3://mwaa-environment/startup.sh
.
The status of the Amazon MWAA environment.
The Apache Airflow web server access mode. For more information, see Apache Airflow access modes.
The Apache Airflow web server host name for the Amazon MWAA environment. For more information, see Accessing the Apache Airflow UI.
The VPC endpoint for the environment's web server.
The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled. For example: TUE:03:30
.