AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#code_sizeInteger

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

Returns:

  • (Integer)

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

#configuration_idString

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

Returns:

  • (String)

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

#descriptionString

The user-provided description.

Returns:

  • (String)

    The user-provided description.

#function_arnString

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

Returns:

  • (String)

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

#function_nameString

The name of the function.

Returns:

  • (String)

    The name of the function.

#handlerString

The function Lambda calls to begin executing your function.

Returns:

  • (String)

    The function Lambda calls to begin executing your function.

#last_modifiedTime

The timestamp of the last time you updated the function.

Returns:

  • (Time)

    The timestamp of the last time you updated the function.

#memory_sizeInteger

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

Returns:

  • (Integer)

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

#modeString

The type of the Lambda function you uploaded.

Possible values:

  • event

Returns:

  • (String)

    The type of the Lambda function you uploaded.

#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)

    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.

#runtimeString

The runtime environment for the Lambda function.

Possible values:

  • nodejs

Returns:

  • (String)

    The runtime environment for the Lambda function.

#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)

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