class Aws::MWAA::Types::Environment
The Amazon Managed Workflows for Apache Airflow (MWAA
) environment.
@!attribute [rw] airflow_configuration_options
A list of key-value pairs containing the Apache Airflow configuration options attached to your environment. To learn more, see [Apache Airflow configuration options][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html @return [Hash<String,String>]
@!attribute [rw] airflow_version
The Apache Airflow version on your environment. For example, `v1.10.12`. @return [String]
@!attribute [rw] arn
The Amazon Resource Name (ARN) of the Amazon MWAA environment. @return [String]
@!attribute [rw] created_at
The day and time the environment was created. @return [Time]
@!attribute [rw] dag_s3_path
The relative path to the DAGs folder on your Amazon S3 bucket. For example, `dags`. To learn more, see [Adding or updating DAGs][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html @return [String]
@!attribute [rw] environment_class
The environment class type. Valid values: `mw1.small`, `mw1.medium`, `mw1.large`. To learn more, see [Amazon MWAA environment class][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html @return [String]
@!attribute [rw] execution_role_arn
The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your environment. For example, `arn:aws:iam::123456789:role/my-execution-role`. To learn more, see [Amazon MWAA Execution role][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html @return [String]
@!attribute [rw] kms_key
The Key Management Service (KMS) encryption key used to encrypt the data in your environment. @return [String]
@!attribute [rw] last_update
The status of the last update on the environment, and any errors that were encountered. @return [Types::LastUpdate]
@!attribute [rw] logging_configuration
The Apache Airflow logs being sent to CloudWatch Logs: `DagProcessingLogs`, `SchedulerLogs`, `TaskLogs`, `WebserverLogs`, `WorkerLogs`. @return [Types::LoggingConfiguration]
@!attribute [rw] max_workers
The maximum number of workers that run in your environment. For example, `20`. @return [Integer]
@!attribute [rw] min_workers
The minimum number of workers that run in your environment. For example, `2`. @return [Integer]
@!attribute [rw] name
The name of the Amazon MWAA environment. For example, `MyMWAAEnvironment`. @return [String]
@!attribute [rw] network_configuration
The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see [About networking on Amazon MWAA][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html @return [Types::NetworkConfiguration]
@!attribute [rw] plugins_s3_object_version
The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see [Installing custom plugins][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html @return [String]
@!attribute [rw] plugins_s3_path
The relative path to the `plugins.zip` file on your Amazon S3 bucket. For example, `plugins.zip`. To learn more, see [Installing custom plugins][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html @return [String]
@!attribute [rw] requirements_s3_object_version
The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see [Installing Python dependencies][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html @return [String]
@!attribute [rw] requirements_s3_path
The relative path to the `requirements.txt` file on your Amazon S3 bucket. For example, `requirements.txt`. To learn more, see [Installing Python dependencies][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html @return [String]
@!attribute [rw] schedulers
The number of Apache Airflow schedulers that run in your Amazon MWAA environment. @return [Integer]
@!attribute [rw] service_role_arn
The Amazon Resource Name (ARN) for the service-linked role of the environment. To learn more, see [Amazon MWAA Service-linked role][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-slr.html @return [String]
@!attribute [rw] source_bucket_arn
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`. To learn more, see [Create an Amazon S3 bucket for Amazon MWAA][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html @return [String]
@!attribute [rw] status
The status of the Amazon MWAA environment. Valid values: * `CREATING` - Indicates the request to create the environment is in progress. * `CREATE_FAILED` - Indicates the request to create the environment failed, and the environment could not be created. * `AVAILABLE` - Indicates the request was successful and the environment is ready to use. * `UPDATING` - Indicates the request to update the environment is in progress. * `DELETING` - Indicates the request to delete the environment is in progress. * `DELETED` - Indicates the request to delete the environment is complete, and the environment has been deleted. * `UNAVAILABLE` - Indicates the request failed, but the environment was unable to rollback and is not in a stable state. * `UPDATE_FAILED` - Indicates the request to update the environment failed, and the environment has rolled back successfully and is ready to use. We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. To learn more, see [Amazon MWAA troubleshooting][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/troubleshooting.html @return [String]
@!attribute [rw] tags
The key-value tag pairs associated to your environment. For example, `"Environment": "Staging"`. To learn more, see [Tagging AWS resources][1]. [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html @return [Hash<String,String>]
@!attribute [rw] webserver_access_mode
The Apache Airflow *Web server* access mode. To learn more, see [Apache Airflow access modes][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html @return [String]
@!attribute [rw] webserver_url
The Apache Airflow *Web server* host name for the Amazon MWAA environment. To learn more, see [Accessing the Apache Airflow UI][1]. [1]: https://docs.aws.amazon.com/mwaa/latest/userguide/access-airflow-ui.html @return [String]
@!attribute [rw] weekly_maintenance_window_start
The day and time of the week that weekly maintenance updates are scheduled. For example: `TUE:03:30`. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/Environment AWS API Documentation
Constants
- SENSITIVE