Interface CfnRoom.MessageReviewHandlerProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRoom.MessageReviewHandlerProperty.Jsii$Proxy
Enclosing class:
CfnRoom

@Stability(Stable) public static interface CfnRoom.MessageReviewHandlerProperty extends software.amazon.jsii.JsiiSerializable
The MessageReviewHandler property type specifies configuration information for optional message review.

Example:

 // 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();
 
  • Method Details

    • getFallbackResult

      @Stability(Stable) @Nullable default String getFallbackResult()
      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 .) 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

    • getUri

      @Stability(Stable) @Nullable default String getUri()
      Identifier of the message review handler.

      Currently this must be an ARN of a lambda function.

    • builder

      @Stability(Stable) static CfnRoom.MessageReviewHandlerProperty.Builder builder()
      Returns:
      a CfnRoom.MessageReviewHandlerProperty.Builder of CfnRoom.MessageReviewHandlerProperty