interface CfnRoomProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IVSChat.CfnRoomProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsivschat#CfnRoomProps |
![]() | software.amazon.awscdk.services.ivschat.CfnRoomProps |
![]() | aws_cdk.aws_ivschat.CfnRoomProps |
![]() | aws-cdk-lib » aws_ivschat » CfnRoomProps |
Properties for defining a CfnRoom
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivschat-room.html
Example
// 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 cfnRoomProps: ivschat.CfnRoomProps = {
loggingConfigurationIdentifiers: ['loggingConfigurationIdentifiers'],
maximumMessageLength: 123,
maximumMessageRatePerSecond: 123,
messageReviewHandler: {
fallbackResult: 'fallbackResult',
uri: 'uri',
},
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
logging | string[] | List of logging-configuration identifiers attached to the room. |
maximum | number | Maximum number of characters in a single message. |
maximum | number | Maximum number of messages per second that can be sent to the room (by all clients). |
message | IResolvable | Message | Configuration information for optional review of messages. |
name? | string | Room name. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
loggingConfigurationIdentifiers?
Type:
string[]
(optional)
List of logging-configuration identifiers attached to the room.
maximumMessageLength?
Type:
number
(optional, default: 500)
Maximum number of characters in a single message.
Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes.
maximumMessageRatePerSecond?
Type:
number
(optional, default: 10)
Maximum number of messages per second that can be sent to the room (by all clients).
messageReviewHandler?
Type:
IResolvable
|
Message
(optional)
Configuration information for optional review of messages.
name?
Type:
string
(optional)
Room name.
The value does not need to be unique.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .