Struct aws_sdk_cloudfront::types::FunctionConfig
source · #[non_exhaustive]pub struct FunctionConfig {
pub comment: String,
pub runtime: FunctionRuntime,
pub key_value_store_associations: Option<KeyValueStoreAssociations>,
}
Expand description
Contains configuration information about a CloudFront function.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.comment: String
A comment to describe the function.
runtime: FunctionRuntime
The function's runtime environment version.
key_value_store_associations: Option<KeyValueStoreAssociations>
The configuration for the Key Value Store associations.
Implementations§
source§impl FunctionConfig
impl FunctionConfig
sourcepub fn runtime(&self) -> &FunctionRuntime
pub fn runtime(&self) -> &FunctionRuntime
The function's runtime environment version.
sourcepub fn key_value_store_associations(&self) -> Option<&KeyValueStoreAssociations>
pub fn key_value_store_associations(&self) -> Option<&KeyValueStoreAssociations>
The configuration for the Key Value Store associations.
source§impl FunctionConfig
impl FunctionConfig
sourcepub fn builder() -> FunctionConfigBuilder
pub fn builder() -> FunctionConfigBuilder
Creates a new builder-style object to manufacture FunctionConfig
.
Trait Implementations§
source§impl Clone for FunctionConfig
impl Clone for FunctionConfig
source§fn clone(&self) -> FunctionConfig
fn clone(&self) -> FunctionConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FunctionConfig
impl Debug for FunctionConfig
source§impl PartialEq for FunctionConfig
impl PartialEq for FunctionConfig
source§fn eq(&self, other: &FunctionConfig) -> bool
fn eq(&self, other: &FunctionConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FunctionConfig
Auto Trait Implementations§
impl RefUnwindSafe for FunctionConfig
impl Send for FunctionConfig
impl Sync for FunctionConfig
impl Unpin for FunctionConfig
impl UnwindSafe for FunctionConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.