interface ParameterConstraintsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Apigatewayv2.CfnRouteResponse.ParameterConstraintsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#CfnRouteResponse_ParameterConstraintsProperty |
Java | software.amazon.awscdk.services.apigatewayv2.CfnRouteResponse.ParameterConstraintsProperty |
Python | aws_cdk.aws_apigatewayv2.CfnRouteResponse.ParameterConstraintsProperty |
TypeScript | aws-cdk-lib » aws_apigatewayv2 » CfnRouteResponse » ParameterConstraintsProperty |
Specifies whether the parameter is required.
Example
// 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
Name | Type | Description |
---|---|---|
required | boolean | IResolvable | Specifies whether the parameter is required. |
required
Type:
boolean |
IResolvable
Specifies whether the parameter is required.