Struct aws_sdk_lambda::model::FunctionConfiguration
source · [−]#[non_exhaustive]pub struct FunctionConfiguration { /* private fields */ }
Expand description
Details about a function's configuration.
Implementations
sourceimpl FunctionConfiguration
impl FunctionConfiguration
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
The name of the function.
sourcepub fn function_arn(&self) -> Option<&str>
pub fn function_arn(&self) -> Option<&str>
The function's Amazon Resource Name (ARN).
sourcepub fn handler(&self) -> Option<&str>
pub fn handler(&self) -> Option<&str>
The function that Lambda calls to begin executing your function.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The function's description.
sourcepub fn timeout(&self) -> Option<i32>
pub fn timeout(&self) -> Option<i32>
The amount of time in seconds that Lambda allows a function to run before stopping it.
sourcepub fn memory_size(&self) -> Option<i32>
pub fn memory_size(&self) -> Option<i32>
The amount of memory available to the function at runtime.
sourcepub fn last_modified(&self) -> Option<&str>
pub fn last_modified(&self) -> Option<&str>
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
sourcepub fn code_sha256(&self) -> Option<&str>
pub fn code_sha256(&self) -> Option<&str>
The SHA256 hash of the function's deployment package.
sourcepub fn vpc_config(&self) -> Option<&VpcConfigResponse>
pub fn vpc_config(&self) -> Option<&VpcConfigResponse>
The function's networking configuration.
sourcepub fn dead_letter_config(&self) -> Option<&DeadLetterConfig>
pub fn dead_letter_config(&self) -> Option<&DeadLetterConfig>
The function's dead letter queue.
sourcepub fn environment(&self) -> Option<&EnvironmentResponse>
pub fn environment(&self) -> Option<&EnvironmentResponse>
The function's environment variables.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
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 key.
sourcepub fn tracing_config(&self) -> Option<&TracingConfigResponse>
pub fn tracing_config(&self) -> Option<&TracingConfigResponse>
The function's X-Ray tracing configuration.
sourcepub fn master_arn(&self) -> Option<&str>
pub fn master_arn(&self) -> Option<&str>
For Lambda@Edge functions, the ARN of the main function.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
The latest updated revision of the function or alias.
sourcepub fn state(&self) -> Option<&State>
pub fn state(&self) -> Option<&State>
The current state of the function. When the state is Inactive
, you can reactivate the function by invoking it.
sourcepub fn state_reason(&self) -> Option<&str>
pub fn state_reason(&self) -> Option<&str>
The reason for the function's current state.
sourcepub fn state_reason_code(&self) -> Option<&StateReasonCode>
pub fn state_reason_code(&self) -> Option<&StateReasonCode>
The reason code for the function's current state. When the code is Creating
, you can't invoke or modify the function.
sourcepub fn last_update_status(&self) -> Option<&LastUpdateStatus>
pub fn last_update_status(&self) -> Option<&LastUpdateStatus>
The status of the last update that was performed on the function. This is first set to Successful
after function creation completes.
sourcepub fn last_update_status_reason(&self) -> Option<&str>
pub fn last_update_status_reason(&self) -> Option<&str>
The reason for the last update that was performed on the function.
sourcepub fn last_update_status_reason_code(
&self
) -> Option<&LastUpdateStatusReasonCode>
pub fn last_update_status_reason_code(
&self
) -> Option<&LastUpdateStatusReasonCode>
The reason code for the last update that was performed on the function.
sourcepub fn file_system_configs(&self) -> Option<&[FileSystemConfig]>
pub fn file_system_configs(&self) -> Option<&[FileSystemConfig]>
Connection settings for an Amazon EFS file system.
sourcepub fn package_type(&self) -> Option<&PackageType>
pub fn package_type(&self) -> Option<&PackageType>
The type of deployment package. Set to Image
for container image and set Zip
for .zip file archive.
sourcepub fn image_config_response(&self) -> Option<&ImageConfigResponse>
pub fn image_config_response(&self) -> Option<&ImageConfigResponse>
The function's image configuration values.
sourcepub fn signing_profile_version_arn(&self) -> Option<&str>
pub fn signing_profile_version_arn(&self) -> Option<&str>
The ARN of the signing profile version.
sourcepub fn signing_job_arn(&self) -> Option<&str>
pub fn signing_job_arn(&self) -> Option<&str>
The ARN of the signing job.
sourcepub fn architectures(&self) -> Option<&[Architecture]>
pub fn architectures(&self) -> Option<&[Architecture]>
The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64
.
sourcepub fn ephemeral_storage(&self) -> Option<&EphemeralStorage>
pub fn ephemeral_storage(&self) -> Option<&EphemeralStorage>
The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.
sourceimpl FunctionConfiguration
impl FunctionConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FunctionConfiguration
.
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 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
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> 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