diff --git a/axiom-cloudfront-lambda-cloudformation-stack.template.yaml b/axiom-cloudfront-lambda-cloudformation-stack.template.yaml index 8ce2782..ae11ae4 100644 --- a/axiom-cloudfront-lambda-cloudformation-stack.template.yaml +++ b/axiom-cloudfront-lambda-cloudformation-stack.template.yaml @@ -21,6 +21,18 @@ Parameters: Type: String Description: The Name of the Dataset in Axiom. MinLength: 1 + LambdaTimout: + Type: Number + Description: Timoute set for lambda function in seconds. + Default: 3 + MaxValue: 900 + MinValue: 1 + LambdaMemory: + Type: Number + Description: Memory Size allocated to lambda function in MB. + default: 128 + MaxValue: 10240 + MinValue: 128 Resources: LogsBucket: Type: AWS::S3::Bucket @@ -76,6 +88,8 @@ Resources: Properties: Runtime: python3.9 FunctionName: axiom-cloudfront-lambda + Timeout: !Ref "LambdaTimout" + MemorySize: !Ref "LambdaMemory" Handler: index.lambda_handler Code: ZipFile: |