# MessageReviewHandlerProperty

The MessageReviewHandler property type specifies configuration information for optional message review.

- 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_ivschat as ivschat } from 'aws-cdk-lib';
const messageReviewHandlerProperty: ivschat.CfnRoom.MessageReviewHandlerProperty = {
  fallbackResult: 'fallbackResult',
  uri: 'uri',
};
```

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_ivschat as ivschat

message_review_handler_property = ivschat.CfnRoom.MessageReviewHandlerProperty(
    fallback_result="fallbackResult",
    uri="uri"
)
```

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.ivschat.*;

MessageReviewHandlerProperty messageReviewHandlerProperty = MessageReviewHandlerProperty.builder()
        .fallbackResult("fallbackResult")
        .uri("uri")
        .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.IVSChat;

var messageReviewHandlerProperty = new MessageReviewHandlerProperty {
    FallbackResult = "fallbackResult",
    Uri = "uri"
};
```

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"

messageReviewHandlerProperty := &MessageReviewHandlerProperty{
	FallbackResult: jsii.String("fallbackResult"),
	Uri: jsii.String("uri"),
}
```

## Properties

- `fallbackResult`: string = "ALLOW" — Specifies the fallback behavior (whether the message is allowed or denied) if the handler does not return a valid response, encounters an error, or times out.

  (For the timeout period, see [Service Quotas](https://docs.aws.amazon.com/ivs/latest/userguide/service-quotas.html) .) If allowed, the message is delivered with returned content to all users connected to the room. If denied, the message is not delivered to any user.

  *Default* : `ALLOW`

- `uri`: string — Identifier of the message review handler.

  Currently this must be an ARN of a lambda function.
