Skip to content
v2.278.0

MessageReviewHandlerProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
};
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 ​

fallbackResultoptionalstringfallback_resultoptionalstrfallbackResultoptionalStringFallbackResultoptionalstringFallbackResultoptional*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.
notes

(For the timeout period, see Service Quotas .) 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

urioptionalstringurioptionalstrurioptionalStringUrioptionalstringUrioptional*string #
Identifier of the message review handler.

Currently this must be an ARN of a lambda function.