interface CfnRequestValidatorMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ApiGateway.CfnRequestValidatorMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsapigateway#CfnRequestValidatorMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.apigateway.CfnRequestValidatorMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_apigateway.CfnRequestValidatorMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_apigateway » 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 { aws_apigateway as apigateway } from '@aws-cdk/cfn-property-mixins';
const cfnRequestValidatorMixinProps: apigateway.CfnRequestValidatorMixinProps = {
name: 'name',
restApiId: 'restApiId',
validateRequestBody: false,
validateRequestParameters: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| name? | string | The name of this RequestValidator. |
| rest | string | IRest | 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 | IRest
(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