Skip to content

Commit bc068e8

Browse files
committed
enable permission
1 parent fd02e71 commit bc068e8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cloudformation/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,14 @@ Resources:
160160
InvokeMode: BUFFERED
161161
TargetFunctionArn: !GetAtt AppApiLambdaFunction.Arn
162162

163+
AppLambdaUrlInvokePermission:
164+
Type: AWS::Lambda::Permission
165+
Properties:
166+
FunctionName: !GetAtt AppApiLambdaFunction.Arn
167+
Action: lambda:InvokeFunctionUrl
168+
Principal: "*"
169+
FunctionUrlAuthType: NONE
170+
163171
AppApiLambdaFunction:
164172
Type: AWS::Serverless::Function
165173
DependsOn:

0 commit comments

Comments
 (0)