AWSTemplateFormatVersion: "2010-09-09"
Transform: AWS::Serverless-2016-10-31
Description: AWS SAM template for the AWS::FraudDetector::List resource type

Globals:
  Function:
    Timeout: 180 # docker start-up times can be long for SAM CLI
    MemorySize: 256

Resources:
  TypeFunction:
    Type: AWS::Serverless::Function
    Properties:
      Handler: aws_frauddetector_list.handlers.resource
      Runtime: python3.8
      CodeUri: build/

  TestEntrypoint:
    Type: AWS::Serverless::Function
    Properties:
      Handler: aws_frauddetector_list.handlers.test_entrypoint
      Runtime: python3.8
      CodeUri: build/