Class: Aws::Lambda::Types::FunctionCode
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::FunctionCode
- Defined in:
- gems/aws-sdk-lambda/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",
image_uri: "String",
}
The code for the Lambda function. You can specify either an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.
Constant Summary collapse
- SENSITIVE =
[:zip_file]
Instance Attribute Summary collapse
-
#image_uri ⇒ String
URI of a container image in the Amazon ECR registry.
-
#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
#image_uri ⇒ String
URI of a container image in the Amazon ECR registry.
1779 1780 1781 1782 1783 1784 1785 1786 1787 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1779 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version, :image_uri) SENSITIVE = [:zip_file] include Aws::Structure end |
#s3_bucket ⇒ String
An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.
1779 1780 1781 1782 1783 1784 1785 1786 1787 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1779 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version, :image_uri) SENSITIVE = [:zip_file] include Aws::Structure end |
#s3_key ⇒ String
The Amazon S3 key of the deployment package.
1779 1780 1781 1782 1783 1784 1785 1786 1787 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1779 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version, :image_uri) SENSITIVE = [:zip_file] include Aws::Structure end |
#s3_object_version ⇒ String
For versioned objects, the version of the deployment package object to use.
1779 1780 1781 1782 1783 1784 1785 1786 1787 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1779 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version, :image_uri) SENSITIVE = [:zip_file] include Aws::Structure end |
#zip_file ⇒ String
The base64-encoded contents of the deployment package. AWS SDK and AWS CLI clients handle the encoding for you.
1779 1780 1781 1782 1783 1784 1785 1786 1787 |
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1779 class FunctionCode < Struct.new( :zip_file, :s3_bucket, :s3_key, :s3_object_version, :image_uri) SENSITIVE = [:zip_file] include Aws::Structure end |