interface CfnRequestValidatorMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ApiGateway.Mixins.CfnRequestValidatorMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsapigateway/mixins#CfnRequestValidatorMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.apigateway.mixins.CfnRequestValidatorMixinProps |
Python | aws_cdk.mixins_preview.aws_apigateway.mixins.CfnRequestValidatorMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_apigateway » mixins » CfnRequestValidatorMixinProps |
Properties for CfnRequestValidatorPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as apigateway_mixins } from '@aws-cdk/mixins-preview/aws-apigateway';
const cfnRequestValidatorMixinProps: apigateway_mixins.CfnRequestValidatorMixinProps = {
name: 'name',
restApiId: 'restApiId',
validateRequestBody: false,
validateRequestParameters: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| name? | string | The name of this RequestValidator. |
| rest | string | The string identifier of the associated RestApi. |
| validate | boolean | IResolvable | A Boolean flag to indicate whether to validate a request body according to the configured Model schema. |
| validate | boolean | IResolvable | A Boolean flag to indicate whether to validate request parameters ( true ) or not ( false ). |
name?
Type:
string
(optional)
The name of this RequestValidator.
restApiId?
Type:
string
(optional)
The string identifier of the associated RestApi.
validateRequestBody?
Type:
boolean | IResolvable
(optional)
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.
validateRequestParameters?
Type:
boolean | IResolvable
(optional)
A Boolean flag to indicate whether to validate request parameters ( true ) or not ( false ).

.NET
Go
Java
Python
TypeScript