interface RequestModelProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SAM.CfnFunction.RequestModelProperty |
Java | software.amazon.awscdk.services.sam.CfnFunction.RequestModelProperty |
Python | aws_cdk.aws_sam.CfnFunction.RequestModelProperty |
TypeScript | @aws-cdk/aws-sam » CfnFunction » RequestModelProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sam from '@aws-cdk/aws-sam';
const requestModelProperty: sam.CfnFunction.RequestModelProperty = {
model: 'model',
// the properties below are optional
required: false,
validateBody: false,
validateParameters: false,
};
Properties
Name | Type | Description |
---|---|---|
model | string | CfnFunction.RequestModelProperty.Model . |
required? | boolean | IResolvable | CfnFunction.RequestModelProperty.Required . |
validate | boolean | IResolvable | CfnFunction.RequestModelProperty.ValidateBody . |
validate | boolean | IResolvable | CfnFunction.RequestModelProperty.ValidateParameters . |
model
Type:
string
CfnFunction.RequestModelProperty.Model
.
required?
Type:
boolean |
IResolvable
(optional)
CfnFunction.RequestModelProperty.Required
.
validateBody?
Type:
boolean |
IResolvable
(optional)
CfnFunction.RequestModelProperty.ValidateBody
.
validateParameters?
Type:
boolean |
IResolvable
(optional)
CfnFunction.RequestModelProperty.ValidateParameters
.