environment
Gets an individual environment
resource
Overview
Name | environment |
Type | Resource |
Description | environment |
Id | awscc.mwaa.environment |
Fields
Name | Datatype | Description |
---|---|---|
name | string | |
arn | string | |
webserver_url | string | |
execution_role_arn | string | |
kms_key | string | |
airflow_version | string | |
source_bucket_arn | string | |
dag_s3_path | string | |
plugins_s3_path | string | |
plugins_s3_object_version | string | |
requirements_s3_path | string | |
requirements_s3_object_version | string | |
startup_script_s3_path | string | |
startup_script_s3_object_version | string | |
airflow_configuration_options | object | Key/value pairs representing Airflow configuration variables.<br/> Keys are prefixed by their section:<br/><br/> [core]<br/> dags_folder={AIRFLOW_HOME}/dags<br/><br/> Would be represented as<br/><br/> "core.dags_folder": "{AIRFLOW_HOME}/dags" |
environment_class | string | |
max_workers | integer | |
min_workers | integer | |
schedulers | integer | |
network_configuration | object | |
logging_configuration | object | |
weekly_maintenance_window_start | string | |
tags | object | A map of tags for the environment. |
webserver_access_mode | string | |
endpoint_management | string | |
celery_executor_queue | string | |
database_vpc_endpoint_service | string | |
webserver_vpc_endpoint_service | string | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
name,
arn,
webserver_url,
execution_role_arn,
kms_key,
airflow_version,
source_bucket_arn,
dag_s3_path,
plugins_s3_path,
plugins_s3_object_version,
requirements_s3_path,
requirements_s3_object_version,
startup_script_s3_path,
startup_script_s3_object_version,
airflow_configuration_options,
environment_class,
max_workers,
min_workers,
schedulers,
network_configuration,
logging_configuration,
weekly_maintenance_window_start,
tags,
webserver_access_mode,
endpoint_management,
celery_executor_queue,
database_vpc_endpoint_service,
webserver_vpc_endpoint_service
FROM awscc.mwaa.environment
WHERE data__Identifier = '<Name>';
Permissions
To operate on the environment
resource, the following permissions are required:
Read
airflow:GetEnvironment
Update
airflow:UpdateEnvironment,
airflow:TagResource,
airflow:UntagResource
Delete
airflow:DeleteEnvironment