pub struct FunctionCode {
pub s3_bucket: Option<String>,
pub s3_key: Option<String>,
pub s3_object_version: Option<String>,
pub zip_file: Option<Bytes>,
}
Expand description
The code for the Lambda function. You can specify either an object in Amazon S3, or upload a deployment package directly.
Fields§
§s3_bucket: Option<String>
An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.
s3_key: Option<String>
The Amazon S3 key of the deployment package.
s3_object_version: Option<String>
For versioned objects, the version of the deployment package object to use.
zip_file: Option<Bytes>
The base64-encoded contents of the deployment package. AWS SDK and AWS CLI clients handle the encoding for you.
Trait Implementations§
Source§impl Clone for FunctionCode
impl Clone for FunctionCode
Source§fn clone(&self) -> FunctionCode
fn clone(&self) -> FunctionCode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FunctionCode
impl Debug for FunctionCode
Source§impl Default for FunctionCode
impl Default for FunctionCode
Source§fn default() -> FunctionCode
fn default() -> FunctionCode
Returns the “default value” for a type. Read more
Source§impl PartialEq for FunctionCode
impl PartialEq for FunctionCode
Source§impl Serialize for FunctionCode
impl Serialize for FunctionCode
impl StructuralPartialEq for FunctionCode
Auto Trait Implementations§
impl !Freeze for FunctionCode
impl RefUnwindSafe for FunctionCode
impl Send for FunctionCode
impl Sync for FunctionCode
impl Unpin for FunctionCode
impl UnwindSafe for FunctionCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more