You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SecurityHub::Types::AwsLambdaFunctionDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsLambdaFunctionDetails
- Defined in:
- (unknown)
Overview
When passing AwsLambdaFunctionDetails as input to an Aws::Client method, you can use a vanilla Hash:
{
code: {
s3_bucket: "NonEmptyString",
s3_key: "NonEmptyString",
s3_object_version: "NonEmptyString",
zip_file: "NonEmptyString",
},
code_sha_256: "NonEmptyString",
dead_letter_config: {
target_arn: "NonEmptyString",
},
environment: {
variables: {
"NonEmptyString" => "NonEmptyString",
},
error: {
error_code: "NonEmptyString",
message: "NonEmptyString",
},
},
function_name: "NonEmptyString",
handler: "NonEmptyString",
kms_key_arn: "NonEmptyString",
last_modified: "NonEmptyString",
layers: [
{
arn: "NonEmptyString",
code_size: 1,
},
],
master_arn: "NonEmptyString",
memory_size: 1,
revision_id: "NonEmptyString",
role: "NonEmptyString",
runtime: "NonEmptyString",
timeout: 1,
tracing_config: {
mode: "NonEmptyString",
},
vpc_config: {
security_group_ids: ["NonEmptyString"],
subnet_ids: ["NonEmptyString"],
vpc_id: "NonEmptyString",
},
version: "NonEmptyString",
}
Details about a function's configuration.
Returned by:
Instance Attribute Summary collapse
-
#code ⇒ Types::AwsLambdaFunctionCode
An
AwsLambdaFunctionCode
object. -
#code_sha_256 ⇒ String
The SHA256 hash of the function\'s deployment package.
-
#dead_letter_config ⇒ Types::AwsLambdaFunctionDeadLetterConfig
The function\'s dead letter queue.
-
#environment ⇒ Types::AwsLambdaFunctionEnvironment
The function\'s environment variables.
-
#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 ⇒ String
Indicates when the function was last updated.
-
#layers ⇒ Array<Types::AwsLambdaFunctionLayer>
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.
-
#timeout ⇒ Integer
The amount of time that Lambda allows a function to run before stopping it.
-
#tracing_config ⇒ Types::AwsLambdaFunctionTracingConfig
The function\'s AWS X-Ray tracing configuration.
-
#version ⇒ String
The version of the Lambda function.
-
#vpc_config ⇒ Types::AwsLambdaFunctionVpcConfig
The function\'s networking configuration.
Instance Attribute Details
#code ⇒ Types::AwsLambdaFunctionCode
An AwsLambdaFunctionCode
object.
#code_sha_256 ⇒ String
The SHA256 hash of the function\'s deployment package.
#dead_letter_config ⇒ Types::AwsLambdaFunctionDeadLetterConfig
The function\'s dead letter queue.
#environment ⇒ Types::AwsLambdaFunctionEnvironment
The function\'s environment variables.
#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 ⇒ String
Indicates when the function was last updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet
Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
#layers ⇒ Array<Types::AwsLambdaFunctionLayer>
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.
#timeout ⇒ Integer
The amount of time that Lambda allows a function to run before stopping it.
#tracing_config ⇒ Types::AwsLambdaFunctionTracingConfig
The function\'s AWS X-Ray tracing configuration.
#version ⇒ String
The version of the Lambda function.
#vpc_config ⇒ Types::AwsLambdaFunctionVpcConfig
The function\'s networking configuration.