CfnRequestValidatorProps

class aws_cdk.aws_apigateway.CfnRequestValidatorProps(*, rest_api_id, name=None, validate_request_body=None, validate_request_parameters=None)

Bases: object

__init__(*, rest_api_id, name=None, validate_request_body=None, validate_request_parameters=None)

Properties for defining a AWS::ApiGateway::RequestValidator.

Parameters
  • rest_api_id (str) – AWS::ApiGateway::RequestValidator.RestApiId.

  • name (Optional[str]) – AWS::ApiGateway::RequestValidator.Name.

  • validate_request_body (Union[bool, None, IResolvable]) – AWS::ApiGateway::RequestValidator.ValidateRequestBody.

  • validate_request_parameters (Union[bool, None, IResolvable]) – AWS::ApiGateway::RequestValidator.ValidateRequestParameters.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-requestvalidator.html

Attributes

name

AWS::ApiGateway::RequestValidator.Name.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-requestvalidator.html#cfn-apigateway-requestvalidator-name

Return type

Optional[str]

rest_api_id

AWS::ApiGateway::RequestValidator.RestApiId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-requestvalidator.html#cfn-apigateway-requestvalidator-restapiid

Return type

str

validate_request_body

AWS::ApiGateway::RequestValidator.ValidateRequestBody.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-requestvalidator.html#cfn-apigateway-requestvalidator-validaterequestbody

Return type

Union[bool, None, IResolvable]

validate_request_parameters

AWS::ApiGateway::RequestValidator.ValidateRequestParameters.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-requestvalidator.html#cfn-apigateway-requestvalidator-validaterequestparameters

Return type

Union[bool, None, IResolvable]