Room Args
data class RoomArgs(val loggingConfigurationIdentifiers: Output<List<String>>? = null, val maximumMessageLength: Output<Int>? = null, val maximumMessageRatePerSecond: Output<Int>? = null, val messageReviewHandler: Output<RoomMessageReviewHandlerArgs>? = null, val name: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<RoomArgs>
Resource for managing an AWS IVS (Interactive Video) Chat Room.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.ivschat.Room("example", {name: "tf-room"});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.ivschat.Room("example", name="tf-room")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.IvsChat.Room("example", new()
{
Name = "tf-room",
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ivschat"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ivschat.NewRoom(ctx, "example", &ivschat.RoomArgs{
Name: pulumi.String("tf-room"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ivschat.Room;
import com.pulumi.aws.ivschat.RoomArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Room("example", RoomArgs.builder()
.name("tf-room")
.build());
}
}
Content copied to clipboard
resources:
example:
type: aws:ivschat:Room
properties:
name: tf-room
Content copied to clipboard
Import
Using pulumi import
, import IVS (Interactive Video) Chat Room using the ARN. For example:
$ pulumi import aws:ivschat/room:Room example arn:aws:ivschat:us-west-2:326937407773:room/GoXEXyB4VwHb
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(loggingConfigurationIdentifiers: Output<List<String>>? = null, maximumMessageLength: Output<Int>? = null, maximumMessageRatePerSecond: Output<Int>? = null, messageReviewHandler: Output<RoomMessageReviewHandlerArgs>? = null, name: Output<String>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
List of Logging Configuration ARNs to attach to the room.
Link copied to clipboard
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.
Link copied to clipboard
Maximum number of messages per second that can be sent to the room (by all clients).
Link copied to clipboard
Configuration information for optional review of messages.