Interface CfnRequestValidatorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRequestValidatorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.857Z")
@Stability(Stable)
public interface CfnRequestValidatorProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnRequestValidator
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.apigateway.*; CfnRequestValidatorProps cfnRequestValidatorProps = CfnRequestValidatorProps.builder() .restApiId("restApiId") // the properties below are optional .name("name") .validateRequestBody(false) .validateRequestParameters(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRequestValidatorProps
static final class
An implementation forCfnRequestValidatorProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
getName()
The name of this RequestValidator.The string identifier of the associated RestApi.default Object
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.default Object
A Boolean flag to indicate whether to validate request parameters (true
) or not (false
).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRestApiId
The string identifier of the associated RestApi. -
getName
The name of this RequestValidator. -
getValidateRequestBody
A Boolean flag to indicate whether to validate a request body according to the configured Model schema. -
getValidateRequestParameters
A Boolean flag to indicate whether to validate request parameters (true
) or not (false
). -
builder
- Returns:
- a
CfnRequestValidatorProps.Builder
ofCfnRequestValidatorProps
-