ApiGatewayV2.Authorizer
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-authorizer-jwtconfiguration.html
type properties = {
identity_validation_expression : string option;
jwt_configuration : jwt_configuration option;
identity_source : string list option;
enable_simple_responses : bool option;
api_id : string;
name : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html;
val make_properties :
?identity_validation_expression:string ->
?authorizer_uri:string ->
?authorizer_credentials_arn:string ->
authorizer_type:string ->
?jwt_configuration:jwt_configuration ->
?authorizer_result_ttl_in_seconds:int ->
?identity_source:string list ->
?authorizer_payload_format_version:string ->
?enable_simple_responses:bool ->
api_id:string ->
name:string ->
unit ->
properties
val make_jwt_configuration :
?issuer:string ->
?audience:string list ->
unit ->
jwt_configuration
val yojson_of_jwt_configuration :
jwt_configuration ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes