Class CfnRoom.MessageReviewHandlerProperty
The MessageReviewHandler property type specifies configuration information for optional message review.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IVSChat
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MessageReviewHandlerProperty : Object, CfnRoom.IMessageReviewHandlerProperty
Syntax (vb)
Public Class MessageReviewHandlerProperty
Inherits Object
Implements CfnRoom.IMessageReviewHandlerProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Synopsis
Constructors
Message |
Properties
Fallback |
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. |
Uri | Identifier of the message review handler. |
Constructors
MessageReviewHandlerProperty()
public MessageReviewHandlerProperty()
Properties
FallbackResult
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.
public string FallbackResult { get; set; }
Property Value
System.
Remarks
(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
Default: - "ALLOW"
Uri
Identifier of the message review handler.
public string Uri { get; set; }
Property Value
System.
Remarks
Currently this must be an ARN of a lambda function.