airflow:CreateEnvironment

Write

airflow:CreateEnvironment is a Write access-level action in the airflow service. Grants permission to create an Amazon MWAA environment

Resource types

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

aws:RequestTag/${TagKey} String

Filters access by the presence of tag key-value pairs in the request

aws:ResourceTag/${TagKey} String

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

aws:TagKeys ArrayOfString

Filters access by tag keys in the request

Example IAM policy

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

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

Related actions in airflow

View all airflow actions →