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

Class: Aws::Lambda::Types::FunctionConfiguration

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#code_sha_256 ⇒ String

The SHA256 hash of the function\'s deployment package.

Returns:

  • (String) —

    The SHA256 hash of the function\'s deployment package.

#code_size ⇒ Integer

The size of the function\'s deployment package, in bytes.

Returns:

  • (Integer) —

    The size of the function\'s deployment package, in bytes.

#dead_letter_config ⇒ Types::DeadLetterConfig

The function\'s dead letter queue.

Returns:

#description ⇒ String

The function\'s description.

Returns:

  • (String) —

    The function\'s description.

#environment ⇒ Types::EnvironmentResponse

The function\'s environment variables.

Returns:

#file_system_configs ⇒ Array<Types::FileSystemConfig>

Connection settings for an Amazon EFS file system.

Returns:

#function_arn ⇒ String

The function\'s Amazon Resource Name (ARN).

Returns:

  • (String) —

    The function\'s Amazon Resource Name (ARN).

#function_name ⇒ String

The name of the function.

Returns:

  • (String) —

    The name of the function.

#handler ⇒ String

The function that Lambda calls to begin executing your function.

Returns:

  • (String) —

    The function that Lambda calls to begin executing your function.

#kms_key_arn ⇒ String

The KMS key that\'s used to encrypt the function\'s environment variables. This key is only returned if you\'ve configured a customer managed CMK.

Returns:

  • (String) —

    The KMS key that\'s used to encrypt the function\'s environment variables.

#last_modified ⇒ Time

The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

Returns:

  • (Time) —

    The date and time that the function was last updated, in [ISO-8601 format][1] (YYYY-MM-DDThh:mm:ss.sTZD).

#last_update_status ⇒ String

The status of the last update that was performed on the function. This is first set to Successful after function creation completes.

Possible values:

  • Successful
  • Failed
  • InProgress

Returns:

  • (String) —

    The status of the last update that was performed on the function.

#last_update_status_reason ⇒ String

The reason for the last update that was performed on the function.

Returns:

  • (String) —

    The reason for the last update that was performed on the function.

#last_update_status_reason_code ⇒ String

The reason code for the last update that was performed on the function.

Possible values:

  • EniLimitExceeded
  • InsufficientRolePermissions
  • InvalidConfiguration
  • InternalError
  • SubnetOutOfIPAddresses
  • InvalidSubnet
  • InvalidSecurityGroup

Returns:

  • (String) —

    The reason code for the last update that was performed on the function.

#layers ⇒ Array<Types::Layer>

The function\'s layers.

Returns:

#master_arn ⇒ String

For Lambda@Edge functions, the ARN of the master function.

Returns:

  • (String) —

    For Lambda@Edge functions, the ARN of the master function.

#memory_size ⇒ Integer

The memory that\'s allocated to the function.

Returns:

  • (Integer) —

    The memory that\'s allocated to the function.

#revision_id ⇒ String

The latest updated revision of the function or alias.

Returns:

  • (String) —

    The latest updated revision of the function or alias.

#role ⇒ String

The function\'s execution role.

Returns:

  • (String) —

    The function\'s execution role.

#runtime ⇒ String

The runtime environment for the Lambda function.

Possible values:

  • nodejs
  • nodejs4.3
  • nodejs6.10
  • nodejs8.10
  • nodejs10.x
  • nodejs12.x
  • java8
  • java8.al2
  • java11
  • python2.7
  • python3.6
  • python3.7
  • python3.8
  • dotnetcore1.0
  • dotnetcore2.0
  • dotnetcore2.1
  • dotnetcore3.1
  • nodejs4.3-edge
  • go1.x
  • ruby2.5
  • ruby2.7
  • provided
  • provided.al2

Returns:

  • (String) —

    The runtime environment for the Lambda function.

#state ⇒ String

The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

Possible values:

  • Pending
  • Active
  • Inactive
  • Failed

Returns:

  • (String) —

    The current state of the function.

#state_reason ⇒ String

The reason for the function\'s current state.

Returns:

  • (String) —

    The reason for the function\'s current state.

#state_reason_code ⇒ String

The reason code for the function\'s current state. When the code is Creating, you can\'t invoke or modify the function.

Possible values:

  • Idle
  • Creating
  • Restoring
  • EniLimitExceeded
  • InsufficientRolePermissions
  • InvalidConfiguration
  • InternalError
  • SubnetOutOfIPAddresses
  • InvalidSubnet
  • InvalidSecurityGroup

Returns:

  • (String) —

    The reason code for the function\'s current state.

#timeout ⇒ Integer

The amount of time in seconds that Lambda allows a function to run before stopping it.

Returns:

  • (Integer) —

    The amount of time in seconds that Lambda allows a function to run before stopping it.

#tracing_config ⇒ Types::TracingConfigResponse

The function\'s AWS X-Ray tracing configuration.

Returns:

#version ⇒ String

The version of the Lambda function.

Returns:

  • (String) —

    The version of the Lambda function.

#vpc_config ⇒ Types::VpcConfigResponse

The function\'s networking configuration.

Returns: