AWS Api Gateway proxy resource using Cloudformation?
问题 I'm trying to proxy an S3 bucket configured as a website from an API Gateway endpoint. I configured an endpoint successfully using the console, but I am unable to recreate the configuration using Cloudformation. After lots of trial and error and guessing, I've come up with the following CF stack template that gets me pretty close: Resources: Api: Type: 'AWS::ApiGateway::RestApi' Properties: Name: ApiDocs Resource: Type: 'AWS::ApiGateway::Resource' Properties: ParentId: !GetAtt Api