Interface CfnRequestValidatorMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRequestValidatorMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:55.482Z")
@Stability(Stable)
public interface CfnRequestValidatorMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnRequestValidatorPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.apigateway.*;
CfnRequestValidatorMixinProps cfnRequestValidatorMixinProps = CfnRequestValidatorMixinProps.builder()
.name("name")
.restApiId("restApiId")
.validateRequestBody(false)
.validateRequestParameters(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRequestValidatorMixinPropsstatic final classAn implementation forCfnRequestValidatorMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetName()The name of this RequestValidator.default ObjectThe string identifier of the associated RestApi.default ObjectA Boolean flag to indicate whether to validate a request body according to the configured Model schema.default ObjectA 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
-
getName
The name of this RequestValidator.- See Also:
-
getRestApiId
The string identifier of the associated RestApi.Returns union: either
StringorIRestApiRef- See Also:
-
getValidateRequestBody
A Boolean flag to indicate whether to validate a request body according to the configured Model schema.Returns union: either
BooleanorIResolvable- See Also:
-
getValidateRequestParameters
A Boolean flag to indicate whether to validate request parameters (true) or not (false).Returns union: either
BooleanorIResolvable- See Also:
-
builder
-