Class CfnRoomPropsMixin.MessageReviewHandlerProperty
The MessageReviewHandler property type specifies configuration information for optional message review.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IVSChat
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnRoomPropsMixin.MessageReviewHandlerProperty : CfnRoomPropsMixin.IMessageReviewHandlerProperty
Syntax (vb)
Public Class CfnRoomPropsMixin.MessageReviewHandlerProperty Implements CfnRoomPropsMixin.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.CfnPropertyMixins.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.CfnPropertyMixins.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 object? Uri { get; set; }
Property Value
Remarks
Currently this must be an ARN of a lambda function.
Type union: either string or IFunctionRef