Class RequestValidator
Inherited Members
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.AWS.APIGateway.dll
Syntax (csharp)
public class RequestValidator : Resource, IRequestValidator, IResource, IConstruct, IDependable
Syntax (vb)
Public Class RequestValidator
Inherits Resource
Implements IRequestValidator, IResource, IConstruct, IDependable
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGateway;
RestApi restApi;
var requestValidator = new RequestValidator(this, "MyRequestValidator", new RequestValidatorProps {
RestApi = restApi,
// the properties below are optional
RequestValidatorName = "requestValidatorName",
ValidateRequestBody = false,
ValidateRequestParameters = false
});
Synopsis
Constructors
RequestValidator(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
RequestValidator(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
RequestValidator(Construct, String, IRequestValidatorProps) |
Properties
RequestValidatorId | ID of the request validator, such as abc123. |
Methods
FromRequestValidatorId(Construct, String, String) |
Constructors
RequestValidator(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected RequestValidator(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
RequestValidator(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected RequestValidator(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
RequestValidator(Construct, String, IRequestValidatorProps)
public RequestValidator(Construct scope, string id, IRequestValidatorProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IRequestValidatorProps
Properties
RequestValidatorId
ID of the request validator, such as abc123.
public virtual string RequestValidatorId { get; }
Property Value
System.String
Remarks
Attribute: true
Methods
FromRequestValidatorId(Construct, String, String)
public static IRequestValidator FromRequestValidatorId(Construct scope, string id, string requestValidatorId)
Parameters
- scope Constructs.Construct
- id System.String
- requestValidatorId System.String
Returns
Implements
Constructs.IConstruct