RequestValidatorArgs

data class RequestValidatorArgs(val name: Output<String>? = null, val restApiId: Output<String>? = null, val validateRequestBody: Output<Boolean>? = null, val validateRequestParameters: Output<Boolean>? = null) : ConvertibleToJava<RequestValidatorArgs>

The `AWS::ApiGateway::RequestValidator` resource sets up basic validation rules for incoming requests to your API. For more information, see Enable Basic Request Validation for an API in API Gateway in the API Gateway Developer Guide.

Constructors

Link copied to clipboard
constructor(name: Output<String>? = null, restApiId: Output<String>? = null, validateRequestBody: Output<Boolean>? = null, validateRequestParameters: Output<Boolean>? = null)

Properties

Link copied to clipboard
val name: Output<String>? = null

The name of this RequestValidator

Link copied to clipboard
val restApiId: Output<String>? = null

The string identifier of the associated RestApi.

Link copied to clipboard
val validateRequestBody: Output<Boolean>? = null

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

Link copied to clipboard
val validateRequestParameters: Output<Boolean>? = null

A Boolean flag to indicate whether to validate request parameters (`true`) or not (`false`).

Functions

Link copied to clipboard
open override fun toJava(): RequestValidatorArgs