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>)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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.



14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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.



14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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.



14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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.

For more information about the validation and formatting of timestamp fields in Security Hub, see [Timestamps].

[1]: docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps

Returns:

  • (String)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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:



14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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.



14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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)


14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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.



14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aws-sdk-securityhub/types.rb', line 14067

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