Struct aws_sdk_securityhub::model::AwsLambdaFunctionCode
source · #[non_exhaustive]pub struct AwsLambdaFunctionCode { /* private fields */ }
Expand description
The code for the Lambda function. You can specify either an object in Amazon S3, or upload a deployment package directly.
Implementations§
source§impl AwsLambdaFunctionCode
impl AwsLambdaFunctionCode
sourcepub fn s3_bucket(&self) -> Option<&str>
pub fn s3_bucket(&self) -> Option<&str>
An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.
sourcepub fn s3_object_version(&self) -> Option<&str>
pub fn s3_object_version(&self) -> Option<&str>
For versioned objects, the version of the deployment package object to use.
source§impl AwsLambdaFunctionCode
impl AwsLambdaFunctionCode
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsLambdaFunctionCode
.
Trait Implementations§
source§impl Clone for AwsLambdaFunctionCode
impl Clone for AwsLambdaFunctionCode
source§fn clone(&self) -> AwsLambdaFunctionCode
fn clone(&self) -> AwsLambdaFunctionCode
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 AwsLambdaFunctionCode
impl Debug for AwsLambdaFunctionCode
source§impl PartialEq<AwsLambdaFunctionCode> for AwsLambdaFunctionCode
impl PartialEq<AwsLambdaFunctionCode> for AwsLambdaFunctionCode
source§fn eq(&self, other: &AwsLambdaFunctionCode) -> bool
fn eq(&self, other: &AwsLambdaFunctionCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.