Skip to content
v2.275.0

ParameterConstraintsProperty Struct ​

Specifies whether the parameter is required.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
const parameterConstraintsProperty: apigatewayv2.CfnRouteResponse.ParameterConstraintsProperty = {
  required: false,
};

Properties ​

requiredboolean | IResolvablerequiredtyping.Union[bool, IResolvable]requiredBooleanRequiredboolRequiredinterface{}required#
Specifies whether the parameter is required.