class SLS::Lambda::Context
- SLS::Lambda::Context
- HTTP::Server::Context
- Reference
- Object
Defined in:
serverless/lambda/http_context.crConstructors
Instance Method Summary
-
#aws_request_id : String
The current request id from aws
- #client_context : JSON::Any
- #deadline_ms : Int64
-
#function_name : String
The name of the lambda function
-
#function_version : String
The current function version
- #get_remaining_time_in_millis
- #host : String
- #identity : JSON::Any
- #invoked_function_arn : String
- #log_group_name : String
- #log_stream_name : String
-
#memory_limit_in_mb : UInt32
The memory limit currently allocated to this function in Megabytes
- #port : String
- #req : HTTPRequest
- #res : HTTPResponse
Constructor Detail
def self.new(function_name : String, function_version : String, memory_limit_in_mb : UInt32, log_group_name : String, log_stream_name : String, aws_request_id : String, invoked_function_arn : String, deadline_ms : Int64, identity : JSON::Any, client_context : JSON::Any, host : String, port : String, req : HTTPRequest, res : HTTPResponse)
#
Instance Method Detail
def memory_limit_in_mb : UInt32
#
The memory limit currently allocated to this function in Megabytes