Module Values.AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetailsSource

Specifies the authorization configuration for using an Lambda function with your AppSync GraphQL API endpoint.

Sourcetype nonrec t = {
  1. authorizerResultTtlInSeconds : Integer.t option;
    (*

    The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).

    *)
  2. authorizerUri : NonEmptyString.t option;
    (*

    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.

    *)
  3. identityValidationExpression : NonEmptyString.t option;
    (*

    A regular expression for validation of tokens before the Lambda function is called.

    *)
}
Sourceval make : ?authorizerResultTtlInSeconds:??? -> ?authorizerUri:??? -> ?identityValidationExpression:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of NonEmptyString.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t