appsync:CreateGraphqlApi is a Write access-level action in the appsync service. Grants permission to create a GraphQL API, which is the top level AppSync resource
This action does not support resource-level permissions; use "Resource": "*" in your policy.
Keys you can use in the Condition block of a policy that grants appsync:CreateGraphqlApi.
Filters access by the visibility of an API
Filters access by the tag key-value pairs in the request
Filters access by the presence of tag keys in the request
A minimal policy that allows appsync:CreateGraphqlApi. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAppsyncCreateGraphqlApi",
"Effect": "Allow",
"Action": "appsync:CreateGraphqlApi",
"Resource": "*"
}
]
}