aws_mwaa_environmentNivis Nix constructor for the aws_mwaa_environment resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
dag_s3_path,
execution_role_arn,
source_bucket_arn,
airflow_configuration_options ? null,
airflow_version ? null,
endpoint_management ? null,
environment_class ? null,
id ? null,
kms_key ? null,
max_webservers ? null,
max_workers ? null,
min_webservers ? null,
min_workers ? null,
cfg_name ? null,
plugins_s3_object_version ? null,
plugins_s3_path ? null,
region ? null,
requirements_s3_object_version ? null,
requirements_s3_path ? null,
schedulers ? null,
startup_script_s3_object_version ? null,
startup_script_s3_path ? null,
tags ? null,
tags_all ? null,
webserver_access_mode ? null,
weekly_maintenance_window_start ? null,
worker_replacement_strategy ? null,
logging_configuration ? null,
network_configuration ? null,
timeouts ? null,
overrides ? {}
}Required arguments
dag_s3_pathexecution_role_arnsource_bucket_arn
Optional arguments
airflow_configuration_options(defaults tonull)airflow_version(defaults tonull)endpoint_management(defaults tonull)environment_class(defaults tonull)id(defaults tonull)kms_key(defaults tonull)max_webservers(defaults tonull)max_workers(defaults tonull)min_webservers(defaults tonull)min_workers(defaults tonull)cfg_name(defaults tonull)plugins_s3_object_version(defaults tonull)plugins_s3_path(defaults tonull)region(defaults tonull)requirements_s3_object_version(defaults tonull)requirements_s3_path(defaults tonull)schedulers(defaults tonull)startup_script_s3_object_version(defaults tonull)startup_script_s3_path(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)webserver_access_mode(defaults tonull)weekly_maintenance_window_start(defaults tonull)worker_replacement_strategy(defaults tonull)logging_configuration(defaults tonull)network_configuration(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arncreated_atdatabase_vpc_endpoint_servicelast_updatedservice_role_arnstatuswebserver_urlwebserver_vpc_endpoint_service
Example
aws_mwaa_environment {
name = "mwaa_environment";
dag_s3_path = …; # required
execution_role_arn = …; # required
source_bucket_arn = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.