Class: Aws::LambdaPreview::Types::UpdateFunctionConfigurationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::LambdaPreview::Types::UpdateFunctionConfigurationRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lambdapreview/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#description ⇒ String
A short user-defined function description.
-
#function_name ⇒ String
The name of the Lambda function.
-
#handler ⇒ String
The function that Lambda calls to begin executing your function.
-
#memory_size ⇒ Integer
The amount of memory, in MB, your Lambda function is given.
-
#role ⇒ String
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
-
#timeout ⇒ Integer
The function execution time at which Lambda should terminate the function.
Instance Attribute Details
#description ⇒ String
A short user-defined function description. Lambda does not use this value. Assign a meaningful description as you see fit.
533 534 535 536 537 538 539 540 541 542 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 533 class UpdateFunctionConfigurationRequest < Struct.new( :function_name, :role, :handler, :description, :timeout, :memory_size) SENSITIVE = [] include Aws::Structure end |
#function_name ⇒ String
The name of the Lambda function.
533 534 535 536 537 538 539 540 541 542 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 533 class UpdateFunctionConfigurationRequest < Struct.new( :function_name, :role, :handler, :description, :timeout, :memory_size) SENSITIVE = [] include Aws::Structure end |
#handler ⇒ String
The function that Lambda calls to begin executing your function. For Node.js, it is the module-name.export value in your function.
533 534 535 536 537 538 539 540 541 542 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 533 class UpdateFunctionConfigurationRequest < Struct.new( :function_name, :role, :handler, :description, :timeout, :memory_size) SENSITIVE = [] include Aws::Structure end |
#memory_size ⇒ Integer
The amount of memory, in MB, your Lambda function is given. Lambda uses this memory size to infer the amount of CPU allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.
533 534 535 536 537 538 539 540 541 542 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 533 class UpdateFunctionConfigurationRequest < Struct.new( :function_name, :role, :handler, :description, :timeout, :memory_size) SENSITIVE = [] include Aws::Structure end |
#role ⇒ String
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
533 534 535 536 537 538 539 540 541 542 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 533 class UpdateFunctionConfigurationRequest < Struct.new( :function_name, :role, :handler, :description, :timeout, :memory_size) SENSITIVE = [] include Aws::Structure end |
#timeout ⇒ Integer
The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.
533 534 535 536 537 538 539 540 541 542 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 533 class UpdateFunctionConfigurationRequest < Struct.new( :function_name, :role, :handler, :description, :timeout, :memory_size) SENSITIVE = [] include Aws::Structure end |