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

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

Overview

Note:

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

Instance Attribute Details

#codeTypes::AwsLambdaFunctionCode

An AwsLambdaFunctionCode object.



11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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_256String

The SHA256 hash of the function's deployment package.

Returns:

  • (String)


11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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_configTypes::AwsLambdaFunctionDeadLetterConfig

The function's dead letter queue.



11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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

#environmentTypes::AwsLambdaFunctionEnvironment

The function's environment variables.



11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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_nameString

The name of the function.

Returns:

  • (String)


11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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

#handlerString

The function that Lambda calls to begin executing your function.

Returns:

  • (String)


11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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


11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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_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. For example, 2020-03-22T13:22:13.933Z.

Returns:

  • (String)


11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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

#layersArray<Types::AwsLambdaFunctionLayer>

The function's layers.

Returns:



11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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_arnString

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

Returns:

  • (String)


11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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_sizeInteger

The memory that is allocated to the function.

Returns:

  • (Integer)


11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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_idString

The latest updated revision of the function or alias.

Returns:

  • (String)


11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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

#roleString

The function's execution role.

Returns:

  • (String)


11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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

#runtimeString

The runtime environment for the Lambda function.

Returns:

  • (String)


11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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

#timeoutInteger

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

Returns:

  • (Integer)


11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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_configTypes::AwsLambdaFunctionTracingConfig

The function's X-Ray tracing configuration.



11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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

#versionString

The version of the Lambda function.

Returns:

  • (String)


11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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_configTypes::AwsLambdaFunctionVpcConfig

The function's networking configuration.



11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11020

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