使用我正在尝试运行的 AWS CLI
aws cloudformation create-stack --stack-name FullstackLambda --template-url https://s3-us-west-2.amazonaws.com/awsappsync/resources/lambda/LambdaCFTemplate.yam --capabilities CAPABILITY_NAMED_IAM --region us-west-2
但我得到了错误
An error occurred (ValidationError) when calling the CreateStack operation: S3 error: Access Denied
我已经设置了我的凭据
aws configure
PS 我从 AppSync 文档 ( https://docs.aws.amazon.com/appsync/latest/devguide/tutorial-lambda-resolvers.html )中获得了 create-stack 命令