java-app-backend/template.yaml [134:153]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          LAMBDA_INSIGHTS_LOG_LEVEL: info
      Events:
        S3Event:
          Type: S3
          Properties:
            Bucket:
              Ref: UploadBucket
            Events: s3:ObjectCreated:*
            Filter:
              S3Key:
                Rules:
                  - Name: prefix
                    Value: index/

  RekognitionLambdaPermission:
    Type: "AWS::Lambda::Permission"
    Properties:
      Action: "lambda:invokeFunction"
      FunctionName: !GetAtt ImageRekognition.Arn
      Principal: "s3.amazonaws.com"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



python-app-backend/template.yaml [127:146]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          LAMBDA_INSIGHTS_LOG_LEVEL: info
      Events:
        S3Event:
          Type: S3
          Properties:
            Bucket:
              Ref: UploadBucket
            Events: s3:ObjectCreated:*
            Filter:
              S3Key:
                Rules:
                  - Name: prefix
                    Value: index/

  RekognitionLambdaPermission:
    Type: "AWS::Lambda::Permission"
    Properties:
      Action: "lambda:invokeFunction"
      FunctionName: !GetAtt ImageRekognition.Arn
      Principal: "s3.amazonaws.com"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



