Cookie の設定を選択する

当社は、当社のサイトおよびサービスを提供するために必要な必須 Cookie および類似のツールを使用しています。当社は、パフォーマンス Cookie を使用して匿名の統計情報を収集することで、お客様が当社のサイトをどのように利用しているかを把握し、改善に役立てています。必須 Cookie は無効化できませんが、[カスタマイズ] または [拒否] をクリックしてパフォーマンス Cookie を拒否することはできます。

お客様が同意した場合、AWS および承認された第三者は、Cookie を使用して便利なサイト機能を提供したり、お客様の選択を記憶したり、関連する広告を含む関連コンテンツを表示したりします。すべての必須ではない Cookie を受け入れるか拒否するには、[受け入れる] または [拒否] をクリックしてください。より詳細な選択を行うには、[カスタマイズ] をクリックしてください。

AWS::IVSChat::Room

フォーカスモード
AWS::IVSChat::Room - AWS CloudFormation
このページはお客様の言語に翻訳されていません。 翻訳のリクエスト
フィルタビュー

The AWS::IVSChat::Room resource specifies an Amazon IVS room that allows clients to connect and pass messages. For more information, see CreateRoom in the Amazon Interactive Video Service Chat API Reference.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::IVSChat::Room", "Properties" : { "LoggingConfigurationIdentifiers" : [ String, ... ], "MaximumMessageLength" : Integer, "MaximumMessageRatePerSecond" : Integer, "MessageReviewHandler" : MessageReviewHandler, "Name" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::IVSChat::Room Properties: LoggingConfigurationIdentifiers: - String MaximumMessageLength: Integer MaximumMessageRatePerSecond: Integer MessageReviewHandler: MessageReviewHandler Name: String Tags: - Tag

Properties

LoggingConfigurationIdentifiers

List of logging-configuration identifiers attached to the room.

Required: No

Type: Array of String

Minimum: 1 | 0

Maximum: 128 | 50

Update requires: No interruption

MaximumMessageLength

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.

Required: No

Type: Integer

Minimum: 1

Maximum: 500

Update requires: No interruption

MaximumMessageRatePerSecond

Maximum number of messages per second that can be sent to the room (by all clients).

Required: No

Type: Integer

Minimum: 1

Maximum: 10

Update requires: No interruption

MessageReviewHandler

Configuration information for optional review of messages.

Required: No

Type: MessageReviewHandler

Update requires: No interruption

Name

Room name. The value does not need to be unique.

Required: No

Type: String

Pattern: ^[a-zA-Z0-9-_]*$

Minimum: 0

Maximum: 128

Update requires: No interruption

Tags

An array of key-value pairs to apply to this resource.

For more information, see Tag.

Required: No

Type: Array of Tag

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the room ARN. For example:

{ "Ref": "myRoom" }

For the Amazon IVS room myRoom , Ref returns the room ARN.

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

Arn

The room ARN. For example: arn:aws:ivschat:us-west-2:123456789012:room/abcdABCDefgh

Id

The room ID. For example: abcdABCDefgh

Examples

Room Template Examples

The following examples specify an Amazon IVS Chat Room.

JSON

{ "AWSTemplateFormatVersion": "2010-09-09", "Resources": { "Room": { "Type": "AWS::IVSChat::Room", "Properties": { "Name": "MyRoom", "Tags": [ { "Key": "MyKey", "Value": "MyValue" } ] } } }, "Outputs": { "RoomArn": { "Value": { "Ref": "Room" } }, "RoomId": { "Value": { "Fn::GetAtt": [ "Room", "Id" ] } } } }

YAML

AWSTemplateFormatVersion: 2010-09-09 Resources: Room: Type: AWS::IVSChat::Room Properties: Name: MyRoom Tags: - Key: MyKey Value: MyValue Outputs: RoomArn: Value: !Ref Room RoomId: Value: !GetAtt Room.Id

See also

このページの内容

プライバシーサイト規約Cookie の設定
© 2025, Amazon Web Services, Inc. or its affiliates.All rights reserved.