How to create a private AWS Api Gateway using cloudformation?
问题 I am trying to create an AWS API Gateway of PRIVATE type, This requires a resource policy, which I have as I'm able to create the gateway from the AWS Console, I wanted to know how I could add the resource policy via the CF template - Following is the swagger definition of the resource policy - x-amazon-apigateway-policy: Version: "2012-10-17" Statement: - Effect: "Deny" Principal: "*" Action: "execute-api:Invoke" Resource: "arn:aws:execute-api:us-east-1:awsAccountId:xxxx/*/*/*" Condition: