Class: AWSCDK::Lambda::Handler

Inherits:
Jsii::Object
  • Object
show all
Defined in:
lambda/handler.rb

Overview

Lambda function handler.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Handler

Returns a new instance of Handler.

Raises:

  • (NoMethodError)


8
9
10
# File 'lambda/handler.rb', line 8

def initialize(*args)
  raise NoMethodError, "aws-cdk-lib.aws_lambda.Handler does not have a visible constructor; use the provided factory methods"
end

Class Method Details

.FROM_IMAGEString

A special handler when the function handler is part of a Docker image.

Returns:

  • (String)


20
21
22
# File 'lambda/handler.rb', line 20

def self.FROM_IMAGE()
  Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_lambda.Handler", "FROM_IMAGE")
end

.jsii_overridable_methodsObject



12
13
14
15
# File 'lambda/handler.rb', line 12

def self.jsii_overridable_methods
  {
  }
end