You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lambda::Types::FunctionCode
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::Lambda::Types::FunctionCode
 
- Defined in:
- (unknown)
Overview
When passing FunctionCode as input to an Aws::Client method, you can use a vanilla Hash:
{
  zip_file: "data",
  s3_bucket: "S3Bucket",
  s3_key: "S3Key",
  s3_object_version: "S3ObjectVersion",
}
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
- 
  
    
      #s3_bucket  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An Amazon S3 bucket in the same AWS Region as your function. 
- 
  
    
      #s3_key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Amazon S3 key of the deployment package. 
- 
  
    
      #s3_object_version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    For versioned objects, the version of the deployment package object to use. 
- 
  
    
      #zip_file  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The base64-encoded contents of the deployment package. 
Instance Attribute Details
#s3_bucket ⇒ String
An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.
#s3_key ⇒ String
The Amazon S3 key of the deployment package.
#s3_object_version ⇒ String
For versioned objects, the version of the deployment package object to use.
#zip_file ⇒ String
The base64-encoded contents of the deployment package. AWS SDK and AWS CLI clients handle the encoding for you.