Struct rusoto_lambda::UpdateFunctionConfigurationRequest
[−]
[src]
pub struct UpdateFunctionConfigurationRequest {
pub dead_letter_config: Option<DeadLetterConfig>,
pub description: Option<Description>,
pub environment: Option<Environment>,
pub function_name: FunctionName,
pub handler: Option<Handler>,
pub kms_key_arn: Option<KMSKeyArn>,
pub memory_size: Option<MemorySize>,
pub role: Option<RoleArn>,
pub runtime: Option<Runtime>,
pub timeout: Option<Timeout>,
pub tracing_config: Option<TracingConfig>,
pub vpc_config: Option<VpcConfig>,
}Fields
dead_letter_config: Option<DeadLetterConfig>
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
description: Option<Description>
A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.
environment: Option<Environment>
The parent object that contains your environment's configuration settings.
function_name: FunctionName
The name of the Lambda function.
You can specify a function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
handler: Option<Handler>
The function that Lambda calls to begin executing your function. For Node.js, it is the module-name.export value in your function.
kms_key_arn: Option<KMSKeyArn>
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If you elect to use the AWS Lambda default service key, pass in an empty string ("") for this parameter.
memory_size: Option<MemorySize>
The amount of memory, in MB, your Lambda function is given. AWS Lambda uses this memory size to infer the amount of CPU allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.
role: Option<RoleArn>
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
runtime: Option<Runtime>
The runtime environment for the Lambda function.
To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7". To use the Node.js runtime v6.10, set the value to "nodejs6.10". To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use the Python runtime v3.6, set the value to "python3.6". To use the Python runtime v2.7, set the value to "python2.7".
You can no longer downgrade to the v0.10.42 runtime version. This version will no longer be supported as of early 2017.
timeout: Option<Timeout>
The function execution time at which AWS Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.
tracing_config: Option<TracingConfig>
The parent object that contains your function's tracing settings.
vpc_config: Option<VpcConfig>
Trait Implementations
impl Default for UpdateFunctionConfigurationRequest[src]
fn default() -> UpdateFunctionConfigurationRequest
Returns the "default value" for a type. Read more
impl Debug for UpdateFunctionConfigurationRequest[src]
impl Clone for UpdateFunctionConfigurationRequest[src]
fn clone(&self) -> UpdateFunctionConfigurationRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more