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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code_sizeInteger

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

Returns:

  • (Integer)


236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 236

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

#configuration_idString

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

Returns:

  • (String)


236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 236

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

#descriptionString

The user-provided description.

Returns:

  • (String)


236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 236

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

#function_arnString

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

Returns:

  • (String)


236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 236

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

#function_nameString

The name of the function.

Returns:

  • (String)


236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 236

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

#handlerString

The function Lambda calls to begin executing your function.

Returns:

  • (String)


236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 236

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

#last_modifiedTime

The timestamp of the last time you updated the function.

Returns:

  • (Time)


236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 236

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  SENSITIVE = []
  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)


236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 236

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

#modeString

The type of the Lambda function you uploaded.

Returns:

  • (String)


236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 236

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  SENSITIVE = []
  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)


236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 236

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

#runtimeString

The runtime environment for the Lambda function.

Returns:

  • (String)


236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 236

class FunctionConfiguration < Struct.new(
  :function_name,
  :function_arn,
  :configuration_id,
  :runtime,
  :role,
  :handler,
  :mode,
  :code_size,
  :description,
  :timeout,
  :memory_size,
  :last_modified)
  SENSITIVE = []
  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)


236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# File 'gems/aws-sdk-lambdapreview/lib/aws-sdk-lambdapreview/types.rb', line 236

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