pub struct AwsLambdaFunctionCode {
pub s3_bucket: Option<String>,
pub s3_key: Option<String>,
pub s3_object_version: Option<String>,
pub zip_file: Option<String>,
}
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<String>
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 AwsLambdaFunctionCode
impl Clone for AwsLambdaFunctionCode
Source§fn clone(&self) -> AwsLambdaFunctionCode
fn clone(&self) -> AwsLambdaFunctionCode
Returns a duplicate 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 AwsLambdaFunctionCode
impl Debug for AwsLambdaFunctionCode
Source§impl Default for AwsLambdaFunctionCode
impl Default for AwsLambdaFunctionCode
Source§fn default() -> AwsLambdaFunctionCode
fn default() -> AwsLambdaFunctionCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwsLambdaFunctionCode
impl<'de> Deserialize<'de> for AwsLambdaFunctionCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AwsLambdaFunctionCode
impl PartialEq for AwsLambdaFunctionCode
Source§impl Serialize for AwsLambdaFunctionCode
impl Serialize for AwsLambdaFunctionCode
impl StructuralPartialEq for AwsLambdaFunctionCode
Auto Trait Implementations§
impl Freeze for AwsLambdaFunctionCode
impl RefUnwindSafe for AwsLambdaFunctionCode
impl Send for AwsLambdaFunctionCode
impl Sync for AwsLambdaFunctionCode
impl Unpin for AwsLambdaFunctionCode
impl UnwindSafe for AwsLambdaFunctionCode
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