You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing FunctionConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  environment: {
    variables: {
      "__string" => "__string",
    },
  },
  exec_args: "__string",
  executable: "__string",
  memory_size: 1,
  pinned: false,
  timeout: 1,
}

Configuration of the function

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#environmentTypes::FunctionConfigurationEnvironment

Environment of the function configuration

Returns:

#exec_argsString

Execution Arguments

Returns:

  • (String)

    Execution Arguments.

#executableString

Executable

Returns:

  • (String)

    Executable.

#memory_sizeInteger

The memory size, in KB, you configured for the function.

Returns:

  • (Integer)

    The memory size, in KB, you configured for the function.

#pinnedBoolean

Whether the function is pinned or not. Pinned means the function is long-lived and starts when the core starts.

Returns:

  • (Boolean)

    Whether the function is pinned or not.

#timeoutInteger

The function execution time at which Lambda should terminate the function. This timeout still applies to pinned lambdas for each request.

Returns:

  • (Integer)

    The function execution time at which Lambda should terminate the function.