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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/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>)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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.



14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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.



14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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.



14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.

Returns:

  • (String)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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:



14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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.



14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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)


14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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.



14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 14027

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