Resource schema for AWS::MWAA::Environment
name
(String) Customer-defined identifier for the environment, unique per customer region.airflow_configuration_options
(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.dag_s3_path
(String) Represents an S3 prefix relative to the root of an S3 bucket.endpoint_management
(String) Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA.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)max_workers
(Number) Maximum worker compute units.min_workers
(Number) Minimum worker compute units.network_configuration
(Attributes) Configures the network resources of the environment. (see below for nested schema)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.startup_script_s3_object_version
(String) Represents an version ID for an S3 object.startup_script_s3_path
(String) Represents an S3 prefix relative to the root of an S3 bucket.tags
(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.weekly_maintenance_window_start
(String) Start time for the weekly maintenance window.arn
(String) ARN for the MWAA environment.celery_executor_queue
(String) The celery executor queue associated with the environment.database_vpc_endpoint_service
(String) The database VPC endpoint service name.id
(String) Uniquely identifies the resource.webserver_url
(String) Url endpoint for the environment's Airflow UI.webserver_vpc_endpoint_service
(String) The webserver VPC endpoint service name, applicable if private webserver access mode selected.logging_configuration
Optional:
dag_processing_logs
(Attributes) Logging configuration for a specific airflow component. (see below for nested schema)scheduler_logs
(Attributes) Logging configuration for a specific airflow component. (see below for nested schema)task_logs
(Attributes) Logging configuration for a specific airflow component. (see below for nested schema)webserver_logs
(Attributes) Logging configuration for a specific airflow component. (see below for nested schema)worker_logs
(Attributes) Logging configuration for a specific airflow component. (see below for nested schema)logging_configuration.dag_processing_logs
Optional:
enabled
(Boolean)log_level
(String)Read-Only:
cloudwatch_log_group_arn
(String)logging_configuration.scheduler_logs
Optional:
enabled
(Boolean)log_level
(String)Read-Only:
cloudwatch_log_group_arn
(String)logging_configuration.task_logs
Optional:
enabled
(Boolean)log_level
(String)Read-Only:
cloudwatch_log_group_arn
(String)logging_configuration.webserver_logs
Optional:
enabled
(Boolean)log_level
(String)Read-Only:
cloudwatch_log_group_arn
(String)logging_configuration.worker_logs
Optional:
enabled
(Boolean)log_level
(String)Read-Only:
cloudwatch_log_group_arn
(String)network_configuration
Optional:
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.Import is supported using the following syntax:
$ terraform import awscc_mwaa_environment.example <resource ID>