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
- Struct
- Aws::Lambda::Types::FunctionConfiguration
- Defined in:
- (unknown)
Overview
Details about a function's configuration.
Returned by:
Instance Attribute Summary collapse
-
#code_sha_256 ⇒ String
The SHA256 hash of the function\'s deployment package.
-
#code_size ⇒ Integer
The size of the function\'s deployment package, in bytes.
-
#dead_letter_config ⇒ Types::DeadLetterConfig
The function\'s dead letter queue.
-
#description ⇒ String
The function\'s description.
-
#environment ⇒ Types::EnvironmentResponse
The function\'s environment variables.
-
#file_system_configs ⇒ Array<Types::FileSystemConfig>
Connection settings for an Amazon EFS file system.
-
#function_arn ⇒ String
The function\'s Amazon Resource Name (ARN).
-
#function_name ⇒ String
The name of the function.
-
#handler ⇒ 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.
-
#last_modified ⇒ 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.
-
#last_update_status_reason ⇒ 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.
-
#layers ⇒ Array<Types::Layer>
The function\'s [ layers][1].
-
#master_arn ⇒ String
For Lambda@Edge functions, the ARN of the master function.
-
#memory_size ⇒ Integer
The memory that\'s allocated to the function.
-
#revision_id ⇒ String
The latest updated revision of the function or alias.
-
#role ⇒ String
The function\'s execution role.
-
#runtime ⇒ String
The runtime environment for the Lambda function.
-
#state ⇒ String
The current state of the function.
-
#state_reason ⇒ String
The reason for the function\'s current state.
-
#state_reason_code ⇒ 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.
-
#tracing_config ⇒ Types::TracingConfigResponse
The function\'s AWS X-Ray tracing configuration.
-
#version ⇒ String
The version of the Lambda function.
-
#vpc_config ⇒ Types::VpcConfigResponse
The function\'s networking configuration.
Instance Attribute Details
#code_sha_256 ⇒ String
The SHA256 hash of the function\'s deployment package.
#code_size ⇒ Integer
The size of the function\'s deployment package, in bytes.
#dead_letter_config ⇒ Types::DeadLetterConfig
The function\'s dead letter queue.
#description ⇒ String
The function\'s description.
#environment ⇒ Types::EnvironmentResponse
The function\'s environment variables.
#file_system_configs ⇒ Array<Types::FileSystemConfig>
Connection settings for an Amazon EFS file system.
#function_arn ⇒ String
The function\'s Amazon Resource Name (ARN).
#function_name ⇒ String
The name of the function.
#handler ⇒ 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.
#last_modified ⇒ Time
The date and time that the function was last updated, in ISO-8601 format (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
#last_update_status_reason ⇒ 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
#layers ⇒ Array<Types::Layer>
The function\'s layers.
#master_arn ⇒ String
For Lambda@Edge functions, the ARN of the master function.
#memory_size ⇒ Integer
The memory that\'s allocated to the function.
#revision_id ⇒ String
The latest updated revision of the function or alias.
#role ⇒ 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
#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
#state_reason ⇒ 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
#timeout ⇒ 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.
#version ⇒ String
The version of the Lambda function.
#vpc_config ⇒ Types::VpcConfigResponse
The function\'s networking configuration.