Created
September 22, 2022 07:25
-
-
Save nidhi-canopas/a8b77a151532f82fc025afc2f2f22916 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Resources: | |
| ApiGatewayResourceProxyMethod: | |
| Type: AWS::ApiGateway::Method | |
| DependsOn: | |
| - ApiGatewayRootResource | |
| Properties: | |
| AuthorizationType: NONE | |
| HttpMethod: ANY | |
| Integration: | |
| IntegrationHttpMethod: POST | |
| Type: AWS_PROXY | |
| Uri: !Sub | |
| - arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${lambdaArn}/invocations | |
| - lambdaArn: !GetAtt LambdaFunction.Arn | |
| ResourceId: !Ref ApiGatewayRootResource | |
| RestApiId: !Ref ApiGateway |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment