#[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 ==
.