Class CfnRoom.MessageReviewHandlerProperty
The MessageReviewHandler property type specifies configuration information for optional message review.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.IVSChat
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRoom.MessageReviewHandlerProperty : CfnRoom.IMessageReviewHandlerProperty
Syntax (vb)
Public Class CfnRoom.MessageReviewHandlerProperty 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
MessageReviewHandlerProperty() | The MessageReviewHandler property type specifies configuration information for optional message review. |
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. |
Uri | Identifier of the message review handler. |
Constructors
MessageReviewHandlerProperty()
The MessageReviewHandler property type specifies configuration information for optional message review.
public MessageReviewHandlerProperty()
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"
};
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
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
Remarks
Currently this must be an ARN of a lambda function.