Class: Aws::Greengrass::Types::FunctionConfiguration

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#encoding_typeString

The expected encoding type of the input payload for the function. The default is ”json”.

Returns:

  • (String)


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

#environmentTypes::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_argsString

The execution arguments.

Returns:

  • (String)


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

#executableString

The name of the function executable.

Returns:

  • (String)


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_overrideString

The Lambda runtime supported by Greengrass which is to be used instead of the one specified in the Lambda function.

Returns:

  • (String)


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_sizeInteger

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.

Returns:

  • (Integer)


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

#pinnedBoolean

True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.

Returns:

  • (Boolean)


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

#timeoutInteger

The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request.

Returns:

  • (Integer)


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