Class: Aws::Lambda::Types::FunctionCode
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::FunctionCode
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lambda/types.rb
Overview
When making an API call, you may pass FunctionCode data as a hash:
{
zip_file: "data",
s3_bucket: "S3Bucket",
s3_key: "S3Key",
s3_object_version: "S3ObjectVersion",
}
The code for the Lambda function.
Instance Attribute Summary collapse
-
#s3_bucket ⇒ String
Amazon S3 bucket name where the .zip file containing your deployment package is stored.
-
#s3_key ⇒ String
The Amazon S3 object (the deployment package) key name you want to upload.
-
#s3_object_version ⇒ String
The Amazon S3 object (the deployment package) version you want to upload.
-
#zip_file ⇒ String
The contents of your zip file containing your deployment package.
Instance Attribute Details
#s3_bucket ⇒ String
Amazon S3 bucket name where the .zip file containing your deployment package is stored. This bucket must reside in the same AWS region where you are creating the Lambda function.
816 817 818 819 820 821 822 |
# File 'lib/aws-sdk-lambda/types.rb', line 816 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version) include Aws::Structure end |
#s3_key ⇒ String
The Amazon S3 object (the deployment package) key name you want to upload.
816 817 818 819 820 821 822 |
# File 'lib/aws-sdk-lambda/types.rb', line 816 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version) include Aws::Structure end |
#s3_object_version ⇒ String
The Amazon S3 object (the deployment package) version you want to upload.
816 817 818 819 820 821 822 |
# File 'lib/aws-sdk-lambda/types.rb', line 816 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version) include Aws::Structure end |
#zip_file ⇒ String
The contents of your zip file containing your deployment package. If you are using the web API directly, the contents of the zip file must be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the SDKs or CLI will do the encoding for you. For more information about creating a .zip file, see [Execution Permissions] in the *AWS Lambda Developer Guide*.
[1]: docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role.html
816 817 818 819 820 821 822 |
# File 'lib/aws-sdk-lambda/types.rb', line 816 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version) include Aws::Structure end |