logo
pub struct FunctionConfiguration {
Show 31 fields pub code_sha_256: Option<String>, pub code_size: Option<i64>, pub dead_letter_config: Option<DeadLetterConfig>, pub description: Option<String>, pub environment: Option<EnvironmentResponse>, pub file_system_configs: Option<Vec<FileSystemConfig>>, pub function_arn: Option<String>, pub function_name: Option<String>, pub handler: Option<String>, pub image_config_response: Option<ImageConfigResponse>, pub kms_key_arn: Option<String>, pub last_modified: Option<String>, pub last_update_status: Option<String>, pub last_update_status_reason: Option<String>, pub last_update_status_reason_code: Option<String>, pub layers: Option<Vec<Layer>>, pub master_arn: Option<String>, pub memory_size: Option<i64>, pub package_type: Option<String>, pub revision_id: Option<String>, pub role: Option<String>, pub runtime: Option<String>, pub signing_job_arn: Option<String>, pub signing_profile_version_arn: Option<String>, pub state: Option<String>, pub state_reason: Option<String>, pub state_reason_code: Option<String>, pub timeout: Option<i64>, pub tracing_config: Option<TracingConfigResponse>, pub version: Option<String>, pub vpc_config: Option<VpcConfigResponse>,
}
Expand description

Details about a function's configuration.

Fields

code_sha_256: Option<String>

The SHA256 hash of the function's deployment package.

code_size: Option<i64>

The size of the function's deployment package, in bytes.

dead_letter_config: Option<DeadLetterConfig>

The function's dead letter queue.

description: Option<String>

The function's description.

environment: Option<EnvironmentResponse>

The function's environment variables.

file_system_configs: Option<Vec<FileSystemConfig>>

Connection settings for an Amazon EFS file system.

function_arn: Option<String>

The function's Amazon Resource Name (ARN).

function_name: Option<String>

The name of the function.

handler: Option<String>

The function that Lambda calls to begin executing your function.

image_config_response: Option<ImageConfigResponse>

The function's image configuration values.

kms_key_arn: Option<String>

The KMS key that's used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed CMK.

last_modified: Option<String>

The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

last_update_status: Option<String>

The status of the last update that was performed on the function. This is first set to Successful after function creation completes.

last_update_status_reason: Option<String>

The reason for the last update that was performed on the function.

last_update_status_reason_code: Option<String>

The reason code for the last update that was performed on the function.

layers: Option<Vec<Layer>>

The function's layers.

master_arn: Option<String>

For Lambda@Edge functions, the ARN of the master function.

memory_size: Option<i64>

The amount of memory available to the function at runtime.

package_type: Option<String>

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

revision_id: Option<String>

The latest updated revision of the function or alias.

role: Option<String>

The function's execution role.

runtime: Option<String>

The runtime environment for the Lambda function.

signing_job_arn: Option<String>

The ARN of the signing job.

signing_profile_version_arn: Option<String>

The ARN of the signing profile version.

state: Option<String>

The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

state_reason: Option<String>

The reason for the function's current state.

state_reason_code: Option<String>

The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.

timeout: Option<i64>

The amount of time in seconds that Lambda allows a function to run before stopping it.

tracing_config: Option<TracingConfigResponse>

The function's AWS X-Ray tracing configuration.

version: Option<String>

The version of the Lambda function.

vpc_config: Option<VpcConfigResponse>

The function's networking configuration.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more