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

Class: Aws::Greengrass::Types::CreateFunctionDefinitionRequest

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 CreateFunctionDefinitionRequest data as a hash:

{
  amzn_client_token: "__string",
  initial_version: {
    functions: [
      {
        function_arn: "__string",
        function_configuration: {
          environment: {
            variables: {
              "__string" => "__string",
            },
          },
          exec_args: "__string",
          executable: "__string",
          memory_size: 1,
          pinned: false,
          timeout: 1,
        },
        id: "__string",
      },
    ],
  },
  name: "__string",
}

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


531
532
533
534
535
536
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 531

class CreateFunctionDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name)
  include Aws::Structure
end

#initial_versionTypes::FunctionDefinitionVersion

Information on the function definition version



531
532
533
534
535
536
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 531

class CreateFunctionDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name)
  include Aws::Structure
end

#nameString

Returns:

  • (String)


531
532
533
534
535
536
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 531

class CreateFunctionDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name)
  include Aws::Structure
end