Created
September 22, 2022 07:20
-
-
Save nidhi-canopas/73f2599ff5e3796eb36b4828d6ce1a68 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: | |
ApiGatewayRootMethod: | |
Type: AWS::ApiGateway::Method | |
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: !GetAtt ApiGateway.RootResourceId | |
RestApiId: !Ref ApiGateway |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment