Struct aws_sdk_lambda::model::FunctionUrlConfig
source · [−]#[non_exhaustive]pub struct FunctionUrlConfig { /* private fields */ }
Expand description
Details about a Lambda function URL.
Implementations
sourceimpl FunctionUrlConfig
impl FunctionUrlConfig
sourcepub fn function_url(&self) -> Option<&str>
pub fn function_url(&self) -> Option<&str>
The HTTP URL endpoint for your function.
sourcepub fn function_arn(&self) -> Option<&str>
pub fn function_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of your function.
sourcepub fn creation_time(&self) -> Option<&str>
pub fn creation_time(&self) -> Option<&str>
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
sourcepub fn last_modified_time(&self) -> Option<&str>
pub fn last_modified_time(&self) -> Option<&str>
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
sourcepub fn cors(&self) -> Option<&Cors>
pub fn cors(&self) -> Option<&Cors>
The cross-origin resource sharing (CORS) settings for your function URL.
sourcepub fn auth_type(&self) -> Option<&FunctionUrlAuthType>
pub fn auth_type(&self) -> Option<&FunctionUrlAuthType>
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated IAM
users only. Set to NONE
if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
sourceimpl FunctionUrlConfig
impl FunctionUrlConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FunctionUrlConfig
.
Trait Implementations
sourceimpl Clone for FunctionUrlConfig
impl Clone for FunctionUrlConfig
sourcefn clone(&self) -> FunctionUrlConfig
fn clone(&self) -> FunctionUrlConfig
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 FunctionUrlConfig
impl Debug for FunctionUrlConfig
sourceimpl PartialEq<FunctionUrlConfig> for FunctionUrlConfig
impl PartialEq<FunctionUrlConfig> for FunctionUrlConfig
sourcefn eq(&self, other: &FunctionUrlConfig) -> bool
fn eq(&self, other: &FunctionUrlConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for FunctionUrlConfig
Auto Trait Implementations
impl RefUnwindSafe for FunctionUrlConfig
impl Send for FunctionUrlConfig
impl Sync for FunctionUrlConfig
impl Unpin for FunctionUrlConfig
impl UnwindSafe for FunctionUrlConfig
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