Class: AWSCDK::Lambda::Handler
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::Lambda::Handler
- Defined in:
- lambda/handler.rb
Overview
Lambda function handler.
Class Method Summary collapse
-
.FROM_IMAGE ⇒ String
A special handler when the function handler is part of a Docker image.
- .jsii_overridable_methods ⇒ Object
Instance Method Summary collapse
-
#initialize(*args) ⇒ Handler
constructor
A new instance of Handler.
Constructor Details
#initialize(*args) ⇒ Handler
Returns a new instance of Handler.
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_IMAGE ⇒ String
A special handler when the function handler is part of a Docker image.
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_methods ⇒ Object
12 13 14 15 |
# File 'lambda/handler.rb', line 12 def self.jsii_overridable_methods { } end |