# RequestModelProperty

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const requestModelProperty: sam.CfnFunction.RequestModelProperty = {
  model: 'model',

  // the properties below are optional
  required: false,
  validateBody: false,
  validateParameters: false,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sam as sam

request_model_property = sam.CfnFunction.RequestModelProperty(
    model="model",

    # the properties below are optional
    required=False,
    validate_body=False,
    validate_parameters=False
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sam.*;

RequestModelProperty requestModelProperty = RequestModelProperty.builder()
        .model("model")

        // the properties below are optional
        .required(false)
        .validateBody(false)
        .validateParameters(false)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SAM;

var requestModelProperty = new RequestModelProperty {
    Model = "model",

    // the properties below are optional
    Required = false,
    ValidateBody = false,
    ValidateParameters = false
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

requestModelProperty := &RequestModelProperty{
	Model: jsii.String("model"),

	// the properties below are optional
	Required: jsii.Boolean(false),
	ValidateBody: jsii.Boolean(false),
	ValidateParameters: jsii.Boolean(false),
}
```

## Properties

- `model`: string (required)

- `required`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `validateBody`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)

- `validateParameters`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html)
