You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AwsLambdaFunctionDetails as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#codeTypes::AwsLambdaFunctionCode

An AwsLambdaFunctionCode object.

Returns:

#code_sha_256String

The SHA256 hash of the function\'s deployment package.

Returns:

  • (String)

    The SHA256 hash of the function\'s deployment package.

#dead_letter_configTypes::AwsLambdaFunctionDeadLetterConfig

The function\'s dead letter queue.

Returns:

#environmentTypes::AwsLambdaFunctionEnvironment

The function\'s environment variables.

Returns:

#function_nameString

The name of the function.

Returns:

  • (String)

    The name of the function.

#handlerString

The function that Lambda calls to begin executing your function.

Returns:

  • (String)

    The function that Lambda calls to begin executing your function.

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

    The KMS key that\'s used to encrypt the function\'s environment variables.

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

    Indicates when the function was last updated.

#layersArray<Types::AwsLambdaFunctionLayer>

The function\'s layers.

Returns:

#master_arnString

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

Returns:

  • (String)

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

#memory_sizeInteger

The memory that\'s allocated to the function.

Returns:

  • (Integer)

    The memory that\'s allocated to the function.

#revision_idString

The latest updated revision of the function or alias.

Returns:

  • (String)

    The latest updated revision of the function or alias.

#roleString

The function\'s execution role.

Returns:

  • (String)

    The function\'s execution role.

#runtimeString

The runtime environment for the Lambda function.

Returns:

  • (String)

    The runtime environment for the Lambda function.

#timeoutInteger

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

Returns:

  • (Integer)

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

#tracing_configTypes::AwsLambdaFunctionTracingConfig

The function\'s AWS X-Ray tracing configuration.

Returns:

#versionString

The version of the Lambda function.

Returns:

  • (String)

    The version of the Lambda function.

#vpc_configTypes::AwsLambdaFunctionVpcConfig

The function\'s networking configuration.

Returns: