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

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 AwsLambdaFunctionCode data as a 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.

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)


1660
1661
1662
1663
1664
1665
1666
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1660

class AwsLambdaFunctionCode < Struct.new(
  :s3_bucket,
  :s3_key,
  :s3_object_version,
  :zip_file)
  include Aws::Structure
end

#s3_keyString

The Amazon S3 key of the deployment package.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1660

class AwsLambdaFunctionCode < Struct.new(
  :s3_bucket,
  :s3_key,
  :s3_object_version,
  :zip_file)
  include Aws::Structure
end

#s3_object_versionString

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

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1660

class AwsLambdaFunctionCode < Struct.new(
  :s3_bucket,
  :s3_key,
  :s3_object_version,
  :zip_file)
  include Aws::Structure
end

#zip_fileString

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

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
1666
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1660

class AwsLambdaFunctionCode < Struct.new(
  :s3_bucket,
  :s3_key,
  :s3_object_version,
  :zip_file)
  include Aws::Structure
end