Class: Aws::Greengrass::Types::FunctionConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Greengrass::Types::FunctionConfiguration
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-greengrass/types.rb
Overview
The configuration of the Lambda function.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#encoding_type ⇒ String
The expected encoding type of the input payload for the function.
-
#environment ⇒ Types::FunctionConfigurationEnvironment
The environment configuration of the function.
-
#exec_args ⇒ String
The execution arguments.
-
#executable ⇒ String
The name of the function executable.
-
#function_runtime_override ⇒ String
The Lambda runtime supported by Greengrass which is to be used instead of the one specified in the Lambda function.
-
#memory_size ⇒ Integer
The memory size, in KB, which the function requires.
-
#pinned ⇒ Boolean
True if the function is pinned.
-
#timeout ⇒ Integer
The allowed function execution time, after which Lambda should terminate the function.
Instance Attribute Details
#encoding_type ⇒ String
The expected encoding type of the input payload for the function. The default is ”json”.
1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 |
# File 'lib/aws-sdk-greengrass/types.rb', line 1696 class FunctionConfiguration < Struct.new( :encoding_type, :environment, :exec_args, :executable, :memory_size, :pinned, :timeout, :function_runtime_override) SENSITIVE = [] include Aws::Structure end |
#environment ⇒ Types::FunctionConfigurationEnvironment
The environment configuration of the function.
1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 |
# File 'lib/aws-sdk-greengrass/types.rb', line 1696 class FunctionConfiguration < Struct.new( :encoding_type, :environment, :exec_args, :executable, :memory_size, :pinned, :timeout, :function_runtime_override) SENSITIVE = [] include Aws::Structure end |
#exec_args ⇒ String
The execution arguments.
1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 |
# File 'lib/aws-sdk-greengrass/types.rb', line 1696 class FunctionConfiguration < Struct.new( :encoding_type, :environment, :exec_args, :executable, :memory_size, :pinned, :timeout, :function_runtime_override) SENSITIVE = [] include Aws::Structure end |
#executable ⇒ String
The name of the function executable.
1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 |
# File 'lib/aws-sdk-greengrass/types.rb', line 1696 class FunctionConfiguration < Struct.new( :encoding_type, :environment, :exec_args, :executable, :memory_size, :pinned, :timeout, :function_runtime_override) SENSITIVE = [] include Aws::Structure end |
#function_runtime_override ⇒ String
The Lambda runtime supported by Greengrass which is to be used instead of the one specified in the Lambda function.
1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 |
# File 'lib/aws-sdk-greengrass/types.rb', line 1696 class FunctionConfiguration < Struct.new( :encoding_type, :environment, :exec_args, :executable, :memory_size, :pinned, :timeout, :function_runtime_override) SENSITIVE = [] include Aws::Structure end |
#memory_size ⇒ Integer
The memory size, in KB, which the function requires. This setting is not applicable and should be cleared when you run the Lambda function without containerization.
1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 |
# File 'lib/aws-sdk-greengrass/types.rb', line 1696 class FunctionConfiguration < Struct.new( :encoding_type, :environment, :exec_args, :executable, :memory_size, :pinned, :timeout, :function_runtime_override) SENSITIVE = [] include Aws::Structure end |
#pinned ⇒ Boolean
True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.
1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 |
# File 'lib/aws-sdk-greengrass/types.rb', line 1696 class FunctionConfiguration < Struct.new( :encoding_type, :environment, :exec_args, :executable, :memory_size, :pinned, :timeout, :function_runtime_override) SENSITIVE = [] include Aws::Structure end |
#timeout ⇒ Integer
The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request.
1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 |
# File 'lib/aws-sdk-greengrass/types.rb', line 1696 class FunctionConfiguration < Struct.new( :encoding_type, :environment, :exec_args, :executable, :memory_size, :pinned, :timeout, :function_runtime_override) SENSITIVE = [] include Aws::Structure end |