pub struct Builder { /* private fields */ }
Expand description
A builder for AwsLambdaFunctionCode
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
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 set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
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_key(self, input: impl Into<String>) -> Self
pub fn s3_key(self, input: impl Into<String>) -> Self
The Amazon S3 key of the deployment package.
sourcepub fn set_s3_key(self, input: Option<String>) -> Self
pub fn set_s3_key(self, input: Option<String>) -> Self
The Amazon S3 key of the deployment package.
sourcepub fn s3_object_version(self, input: impl Into<String>) -> Self
pub fn s3_object_version(self, input: impl Into<String>) -> Self
For versioned objects, the version of the deployment package object to use.
sourcepub fn set_s3_object_version(self, input: Option<String>) -> Self
pub fn set_s3_object_version(self, input: Option<String>) -> Self
For versioned objects, the version of the deployment package object to use.
sourcepub fn zip_file(self, input: impl Into<String>) -> Self
pub fn zip_file(self, input: impl Into<String>) -> Self
The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
sourcepub fn set_zip_file(self, input: Option<String>) -> Self
pub fn set_zip_file(self, input: Option<String>) -> Self
The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
sourcepub fn build(self) -> AwsLambdaFunctionCode
pub fn build(self) -> AwsLambdaFunctionCode
Consumes the builder and constructs a AwsLambdaFunctionCode
.