appsync:CreateApi

Write

appsync:CreateApi is a Write access-level action in the appsync service. Grants permission to create an API

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

No condition keys are documented for this action.

Dependent actions

To use appsync:CreateApi you may also need to grant:

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAppsyncCreateApi",
      "Effect": "Allow",
      "Action": "appsync:CreateApi",
      "Resource": "*"
    }
  ]
}

Related actions in appsync

View all appsync actions →