Class: Aws::SecurityHub::Types::AwsLambdaFunctionDetails

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-securityhub/types.rb

Overview

Details about an Lambda function’s configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#architecturesArray<String>

The instruction set architecture that the function uses. Valid values are ‘x86_64` or `arm64`.

Returns:

  • (Array<String>)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#codeTypes::AwsLambdaFunctionCode

An ‘AwsLambdaFunctionCode` object.



14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#code_sha_256String

The SHA256 hash of the function’s deployment package.

Returns:

  • (String)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#dead_letter_configTypes::AwsLambdaFunctionDeadLetterConfig

The function’s dead letter queue.



14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#environmentTypes::AwsLambdaFunctionEnvironment

The function’s environment variables.



14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#function_nameString

The name of the function.

Returns:

  • (String)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#handlerString

The function that Lambda calls to begin executing your function.

Returns:

  • (String)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_arnString

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

Returns:

  • (String)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#last_modifiedString

Indicates when the function was last updated.

This field accepts only the specified formats. Timestamps can end with ‘Z` or `(“+” / “-”) time-hour [“:” time-minute]`. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

  • ‘YYYY-MM-DDTHH:MM:SSZ` (for example, `2019-01-31T23:00:00Z`)

  • ‘YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ` (for example, `2019-01-31T23:00:00.123456789Z`)

  • ‘YYYY-MM-DDTHH:MM:SS+HH:MM` (for example, `2024-01-04T15:25:10+17:59`)

  • ‘YYYY-MM-DDTHH:MM:SS-HHMM` (for example, `2024-01-04T15:25:10-1759`)

  • ‘YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM` (for example, `2024-01-04T15:25:10.123456789+17:59`)

Returns:

  • (String)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#layersArray<Types::AwsLambdaFunctionLayer>

The function’s layers.

Returns:



14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#master_arnString

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

Returns:

  • (String)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#memory_sizeInteger

The memory that is allocated to the function.

Returns:

  • (Integer)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#package_typeString

The type of deployment package that’s used to deploy the function code to Lambda. Set to ‘Image` for a container image and `Zip` for a .zip file archive.

Returns:

  • (String)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#revision_idString

The latest updated revision of the function or alias.

Returns:

  • (String)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#roleString

The function’s execution role.

Returns:

  • (String)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#runtimeString

The runtime environment for the Lambda function.

Returns:

  • (String)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#timeoutInteger

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

Returns:

  • (Integer)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#tracing_configTypes::AwsLambdaFunctionTracingConfig

The function’s X-Ray tracing configuration.



14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#versionString

The version of the Lambda function.

Returns:

  • (String)


14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_configTypes::AwsLambdaFunctionVpcConfig

The function’s networking configuration.



14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
# File 'lib/aws-sdk-securityhub/types.rb', line 14607

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,
  :architectures,
  :package_type)
  SENSITIVE = []
  include Aws::Structure
end