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.

Instance Attribute Summary collapse

Instance Attribute Details

#codeTypes::AwsLambdaFunctionCode

An AwsLambdaFunctionCode object.



1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#code_sha_256String

The SHA256 hash of the function's deployment package.

Returns:

  • (String)


1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#dead_letter_configTypes::AwsLambdaFunctionDeadLetterConfig

The function's dead letter queue.



1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#environmentTypes::AwsLambdaFunctionEnvironment

The function's environment variables.



1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#function_nameString

The name of the function.

Returns:

  • (String)


1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#handlerString

The function that Lambda calls to begin executing your function.

Returns:

  • (String)


1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#kms_key_arnString

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.

Returns:

  • (String)


1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#last_modifiedString

The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

Returns:

  • (String)


1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#layersArray<Types::AwsLambdaFunctionLayer>

The function's layers.

Returns:



1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#master_arnString

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

Returns:

  • (String)


1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#memory_sizeInteger

The memory that's allocated to the function.

Returns:

  • (Integer)


1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#revision_idString

The latest updated revision of the function or alias.

Returns:

  • (String)


1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#roleString

The function's execution role.

Returns:

  • (String)


1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#runtimeString

The runtime environment for the Lambda function.

Returns:

  • (String)


1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#timeoutInteger

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

Returns:

  • (Integer)


1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#tracing_configTypes::AwsLambdaFunctionTracingConfig

The function's AWS X-Ray tracing configuration.



1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#versionString

The version of the Lambda function.

Returns:

  • (String)


1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end

#vpc_configTypes::AwsLambdaFunctionVpcConfig

The function's networking configuration.



1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1819

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)
  include Aws::Structure
end