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

Class: Aws::Greengrass::Types::Function

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb

Overview

Note:

When making an API call, you may pass Function data as a hash:

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

Information on function

Instance Attribute Summary collapse

Instance Attribute Details

#function_arnString

Arn of the Lambda function.

Returns:

  • (String)


1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1437

class Function < Struct.new(
  :function_arn,
  :function_configuration,
  :id)
  include Aws::Structure
end

#function_configurationTypes::FunctionConfiguration

Configuration of the function



1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1437

class Function < Struct.new(
  :function_arn,
  :function_configuration,
  :id)
  include Aws::Structure
end

#idString

Id of the function in this version.

Returns:

  • (String)


1437
1438
1439
1440
1441
1442
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1437

class Function < Struct.new(
  :function_arn,
  :function_configuration,
  :id)
  include Aws::Structure
end