--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_mwaa_environment Data Source - terraform-provider-awscc" subcategory: "" description: |- Data Source schema for AWS::MWAA::Environment --- # awscc_mwaa_environment (Data Source) Data Source schema for AWS::MWAA::Environment ## Schema ### Required - `id` (String) Uniquely identifies the resource. ### Read-Only - `airflow_configuration_options` (Map of String) Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section: [core] dags_folder={AIRFLOW_HOME}/dags Would be represented as "core.dags_folder": "{AIRFLOW_HOME}/dags" - `airflow_version` (String) Version of airflow to deploy to the environment. - `arn` (String) ARN for the MWAA environment. - `dag_s3_path` (String) Represents an S3 prefix relative to the root of an S3 bucket. - `environment_class` (String) Templated configuration for airflow processes and backing infrastructure. - `execution_role_arn` (String) IAM role to be used by tasks. - `kms_key` (String) The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for MWAA data encryption. You can specify the CMK using any of the following: Key ID. For example, key/1234abcd-12ab-34cd-56ef-1234567890ab. Key alias. For example, alias/ExampleAlias. Key ARN. For example, arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. Alias ARN. For example, arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias. AWS authenticates the CMK asynchronously. Therefore, if you specify an ID, alias, or ARN that is not valid, the action can appear to complete, but eventually fails. - `logging_configuration` (Attributes) Logging configuration for the environment. (see [below for nested schema](#nestedatt--logging_configuration)) - `max_workers` (Number) Maximum worker compute units. - `min_workers` (Number) Minimum worker compute units. - `name` (String) Customer-defined identifier for the environment, unique per customer region. - `network_configuration` (Attributes) Configures the network resources of the environment. (see [below for nested schema](#nestedatt--network_configuration)) - `plugins_s3_object_version` (String) Represents an version ID for an S3 object. - `plugins_s3_path` (String) Represents an S3 prefix relative to the root of an S3 bucket. - `requirements_s3_object_version` (String) Represents an version ID for an S3 object. - `requirements_s3_path` (String) Represents an S3 prefix relative to the root of an S3 bucket. - `schedulers` (Number) Scheduler compute units. - `source_bucket_arn` (String) ARN for the AWS S3 bucket to use as the source of DAGs and plugins for the environment. - `tags` (Map of String) A map of tags for the environment. - `webserver_access_mode` (String) Choice for mode of webserver access including over public internet or via private VPC endpoint. - `webserver_url` (String) Url endpoint for the environment's Airflow UI. - `weekly_maintenance_window_start` (String) Start time for the weekly maintenance window. ### Nested Schema for `logging_configuration` Read-Only: - `dag_processing_logs` (Attributes) Logging configuration for a specific airflow component. (see [below for nested schema](#nestedatt--logging_configuration--dag_processing_logs)) - `scheduler_logs` (Attributes) Logging configuration for a specific airflow component. (see [below for nested schema](#nestedatt--logging_configuration--scheduler_logs)) - `task_logs` (Attributes) Logging configuration for a specific airflow component. (see [below for nested schema](#nestedatt--logging_configuration--task_logs)) - `webserver_logs` (Attributes) Logging configuration for a specific airflow component. (see [below for nested schema](#nestedatt--logging_configuration--webserver_logs)) - `worker_logs` (Attributes) Logging configuration for a specific airflow component. (see [below for nested schema](#nestedatt--logging_configuration--worker_logs)) ### Nested Schema for `logging_configuration.dag_processing_logs` Read-Only: - `cloudwatch_log_group_arn` (String) - `enabled` (Boolean) - `log_level` (String) ### Nested Schema for `logging_configuration.scheduler_logs` Read-Only: - `cloudwatch_log_group_arn` (String) - `enabled` (Boolean) - `log_level` (String) ### Nested Schema for `logging_configuration.task_logs` Read-Only: - `cloudwatch_log_group_arn` (String) - `enabled` (Boolean) - `log_level` (String) ### Nested Schema for `logging_configuration.webserver_logs` Read-Only: - `cloudwatch_log_group_arn` (String) - `enabled` (Boolean) - `log_level` (String) ### Nested Schema for `logging_configuration.worker_logs` Read-Only: - `cloudwatch_log_group_arn` (String) - `enabled` (Boolean) - `log_level` (String) ### Nested Schema for `network_configuration` Read-Only: - `security_group_ids` (List of String) A list of security groups to use for the environment. - `subnet_ids` (List of String) A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.