Class: Aws::SecurityHub::Types::AwsLambdaFunctionDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsLambdaFunctionDetails
- Defined in:
- gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb
Overview
When making an API call, you may pass AwsLambdaFunctionDetails data as a 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.
Constant Summary collapse
- SENSITIVE =
[]
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.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#code_sha_256 ⇒ String
The SHA256 hash of the function's deployment package.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#dead_letter_config ⇒ Types::AwsLambdaFunctionDeadLetterConfig
The function's dead letter queue.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#environment ⇒ Types::AwsLambdaFunctionEnvironment
The function's environment variables.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#function_name ⇒ String
The name of the function.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#handler ⇒ String
The function that Lambda calls to begin executing your function.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#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.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#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
.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#layers ⇒ Array<Types::AwsLambdaFunctionLayer>
The function's layers.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#master_arn ⇒ String
For Lambda@Edge functions, the ARN of the master function.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#memory_size ⇒ Integer
The memory that's allocated to the function.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#revision_id ⇒ String
The latest updated revision of the function or alias.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#role ⇒ String
The function's execution role.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#runtime ⇒ String
The runtime environment for the Lambda function.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#timeout ⇒ Integer
The amount of time that Lambda allows a function to run before stopping it.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#tracing_config ⇒ Types::AwsLambdaFunctionTracingConfig
The function's AWS X-Ray tracing configuration.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#version ⇒ String
The version of the Lambda function.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |
#vpc_config ⇒ Types::AwsLambdaFunctionVpcConfig
The function's networking configuration.
6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6741 class AwsLambdaFunctionDetails < Struct.new( :code, :code_sha_256, :dead_letter_config, :environment, :function_name, :handler, :kms_key_arn, :last_modified, :layers, :master_arn, :memory_size, :revision_id, :role, :runtime, :timeout, :tracing_config, :vpc_config, :version) SENSITIVE = [] include Aws::Structure end |