airflow:AccessAirflowResource

Write

airflow:AccessAirflowResource is a Write access-level action in the airflow service. Grants permission to check whether a user is authorized to perform an action on an Airflow resource within an Amazon MWAA environment

Resource types

ARNs that airflow:AccessAirflowResource 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:AccessAirflowResource.

airflow:DagAccessEntity String

Filters access by the DAG sub-resource being accessed

airflow:ResourceAction String

Filters access by the action being performed on the Airflow resource

airflow:ResourceId String

Filters access by the identifier of the specific Airflow resource, such as a DAG ID or connection ID

airflow:ResourceType String

Filters access by the Airflow resource type specified in the request

airflow:TeamNames ArrayOfString

Filters access by the team names associated with the caller's identity, enabling team-based access control for Airflow resources

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in airflow

View all airflow actions →