#[non_exhaustive]pub struct AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails {
pub authorizer_result_ttl_in_seconds: Option<i32>,
pub authorizer_uri: Option<String>,
pub identity_validation_expression: Option<String>,
}
Expand description
Specifies the authorization configuration for using an Lambda function with your AppSync GraphQL API endpoint.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).
The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. This can be a standard Lambda ARN, a version ARN (.../v3), or an alias ARN.
identity_validation_expression: Option<String>
A regular expression for validation of tokens before the Lambda function is called.
Implementations§
source§impl AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
impl AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).
The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. This can be a standard Lambda ARN, a version ARN (.../v3), or an alias ARN.
sourcepub fn identity_validation_expression(&self) -> Option<&str>
pub fn identity_validation_expression(&self) -> Option<&str>
A regular expression for validation of tokens before the Lambda function is called.
source§impl AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
impl AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
sourcepub fn builder() -> AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetailsBuilder
pub fn builder() -> AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetailsBuilder
Creates a new builder-style object to manufacture AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
.
Trait Implementations§
source§impl Clone for AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
impl Clone for AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
source§fn clone(&self) -> AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
fn clone(&self) -> AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
impl PartialEq for AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
source§fn eq(&self, other: &AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails) -> bool
fn eq(&self, other: &AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
Auto Trait Implementations§
impl Freeze for AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
impl RefUnwindSafe for AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
impl Send for AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
impl Sync for AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
impl Unpin for AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
impl UnwindSafe for AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more