amplifybackend:GenerateBackendAPIModels is a Write access-level action in the amplifybackend service. Grants permission to generate models for an API of an existing Amplify Admin backend environment by appId and backendEnvironmentName
ARNs that amplifybackend:GenerateBackendAPIModels can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows amplifybackend:GenerateBackendAPIModels. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAmplifybackendGenerateBackendAPIModels",
"Effect": "Allow",
"Action": "amplifybackend:GenerateBackendAPIModels",
"Resource": "*"
}
]
}