Struct rusoto_lambda::FunctionConfiguration
source · [−]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
sourceimpl Clone for FunctionConfiguration
impl Clone for FunctionConfiguration
sourcefn clone(&self) -> FunctionConfiguration
fn clone(&self) -> FunctionConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FunctionConfiguration
impl Debug for FunctionConfiguration
sourceimpl Default for FunctionConfiguration
impl Default for FunctionConfiguration
sourcefn default() -> FunctionConfiguration
fn default() -> FunctionConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FunctionConfiguration
impl<'de> Deserialize<'de> for FunctionConfiguration
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<FunctionConfiguration> for FunctionConfiguration
impl PartialEq<FunctionConfiguration> for FunctionConfiguration
sourcefn eq(&self, other: &FunctionConfiguration) -> bool
fn eq(&self, other: &FunctionConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FunctionConfiguration) -> bool
fn ne(&self, other: &FunctionConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for FunctionConfiguration
Auto Trait Implementations
impl RefUnwindSafe for FunctionConfiguration
impl Send for FunctionConfiguration
impl Sync for FunctionConfiguration
impl Unpin for FunctionConfiguration
impl UnwindSafe for FunctionConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more