Struct cargo_lambda_deploy::Deploy
source · pub struct Deploy {
pub manifest_path: PathBuf,
pub binary_name: Option<String>,
pub binary_path: Option<PathBuf>,
pub s3_bucket: Option<String>,
pub compatible_runtimes: Vec<String>,
/* private fields */
}Fields§
§manifest_path: PathBufPath to Cargo.toml
binary_name: Option<String>Name of the binary to deploy if it doesn’t match the name that you want to deploy it with
binary_path: Option<PathBuf>Local path of the binary to deploy if it doesn’t match the target path generated by cargo-lambda-build
s3_bucket: Option<String>S3 bucket to upload the code to
compatible_runtimes: Vec<String>Comma separated list with compatible runtimes for the Lambda Extension (–compatible_runtimes=provided.al2,nodejs16.x) List of allowed runtimes can be found in the AWS documentation: https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime
Implementations§
Trait Implementations§
source§impl FromArgMatches for Deploy
impl FromArgMatches for Deploy
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
Assign values from
ArgMatches to self.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
Assign values from
ArgMatches to self.