airflow:GetEnvironment

Read

airflow:GetEnvironment is a Read access-level action in the airflow service. Grants permission to view details about an Amazon MWAA environment

Resource types

ARNs that airflow:GetEnvironment can be scoped to in an IAM policy.

arn:${Partition}:airflow:${Region}:${Account}:environment/${EnvironmentName} required
environment

Condition keys

Keys you can use in the Condition block of a policy that grants airflow:GetEnvironment.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows airflow:GetEnvironment. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAirflowGetEnvironment",
      "Effect": "Allow",
      "Action": "airflow:GetEnvironment",
      "Resource": "*"
    }
  ]
}

Related actions in airflow

View all airflow actions →