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

Class: Aws::LambdaPreview::Types::FunctionConfiguration

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

Overview

A complex type that describes function metadata.

Instance Attribute Summary collapse

Instance Attribute Details

#code_sizeInteger

The size, in bytes, of the function .zip file you uploaded.

Returns:

  • (Integer)


230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 230

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  include Aws::Structure
end

#configuration_idString

A Lambda-assigned unique identifier for the current function code and related configuration.

Returns:

  • (String)


230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 230

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  include Aws::Structure
end

#descriptionString

The user-provided description.

Returns:

  • (String)


230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 230

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  include Aws::Structure
end

#function_arnString

The Amazon Resource Name (ARN) assigned to the function.

Returns:

  • (String)


230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 230

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  include Aws::Structure
end

#function_nameString

The name of the function.

Returns:

  • (String)


230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 230

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  include Aws::Structure
end

#handlerString

The function Lambda calls to begin executing your function.

Returns:

  • (String)


230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 230

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  include Aws::Structure
end

#last_modifiedTime

The timestamp of the last time you updated the function.

Returns:

  • (Time)


230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 230

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  include Aws::Structure
end

#memory_sizeInteger

The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.

Returns:

  • (Integer)


230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 230

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  include Aws::Structure
end

#modeString

The type of the Lambda function you uploaded.

Returns:

  • (String)


230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 230

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  include Aws::Structure
end

#roleString

The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources.

Returns:

  • (String)


230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 230

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  include Aws::Structure
end

#runtimeString

The runtime environment for the Lambda function.

Returns:

  • (String)


230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 230

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  include Aws::Structure
end

#timeoutInteger

The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.

Returns:

  • (Integer)


230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 230

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  include Aws::Structure
end