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

Class: Aws::SecurityHub::Types::AwsLambdaFunctionCode

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

Overview

Note:

When passing AwsLambdaFunctionCode as input to an Aws::Client method, you can use a vanilla Hash:

{
  s3_bucket: "NonEmptyString",
  s3_key: "NonEmptyString",
  s3_object_version: "NonEmptyString",
  zip_file: "NonEmptyString",
}

The code for the Lambda function. You can specify either an object in Amazon S3, or upload a deployment package directly.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#s3_bucketString

An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.

Returns:

  • (String)

    An Amazon S3 bucket in the same AWS Region as your function.

#s3_keyString

The Amazon S3 key of the deployment package.

Returns:

  • (String)

    The Amazon S3 key of the deployment package.

#s3_object_versionString

For versioned objects, the version of the deployment package object to use.

Returns:

  • (String)

    For versioned objects, the version of the deployment package object to use.

#zip_fileString

The base64-encoded contents of the deployment package. AWS SDK and AWS CLI clients handle the encoding for you.

Returns:

  • (String)

    The base64-encoded contents of the deployment package.