We recommend new projects start with resources from the AWS provider.
aws-native.ivschat.Room
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource type definition for AWS::IVSChat::Room.
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var room = new AwsNative.IvsChat.Room("room", new()
    {
        Name = "MyRoom",
        Tags = new[]
        {
            new AwsNative.Inputs.TagArgs
            {
                Key = "MyKey",
                Value = "MyValue",
            },
        },
    });
    return new Dictionary<string, object?>
    {
        ["roomArn"] = room.Id,
        ["roomId"] = room.Id,
    };
});
package main
import (
	awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ivschat"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		room, err := ivschat.NewRoom(ctx, "room", &ivschat.RoomArgs{
			Name: pulumi.String("MyRoom"),
			Tags: aws.TagArray{
				&aws.TagArgs{
					Key:   pulumi.String("MyKey"),
					Value: pulumi.String("MyValue"),
				},
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("roomArn", room.ID())
		ctx.Export("roomId", room.ID())
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const room = new aws_native.ivschat.Room("room", {
    name: "MyRoom",
    tags: [{
        key: "MyKey",
        value: "MyValue",
    }],
});
export const roomArn = room.id;
export const roomId = room.id;
import pulumi
import pulumi_aws_native as aws_native
room = aws_native.ivschat.Room("room",
    name="MyRoom",
    tags=[{
        "key": "MyKey",
        "value": "MyValue",
    }])
pulumi.export("roomArn", room.id)
pulumi.export("roomId", room.id)
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var room = new AwsNative.IvsChat.Room("room", new()
    {
        Name = "MyRoom",
        Tags = new[]
        {
            new AwsNative.Inputs.TagArgs
            {
                Key = "MyKey",
                Value = "MyValue",
            },
        },
    });
    return new Dictionary<string, object?>
    {
        ["roomArn"] = room.Id,
        ["roomId"] = room.Id,
    };
});
package main
import (
	awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ivschat"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		room, err := ivschat.NewRoom(ctx, "room", &ivschat.RoomArgs{
			Name: pulumi.String("MyRoom"),
			Tags: aws.TagArray{
				&aws.TagArgs{
					Key:   pulumi.String("MyKey"),
					Value: pulumi.String("MyValue"),
				},
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("roomArn", room.ID())
		ctx.Export("roomId", room.ID())
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const room = new aws_native.ivschat.Room("room", {
    name: "MyRoom",
    tags: [{
        key: "MyKey",
        value: "MyValue",
    }],
});
export const roomArn = room.id;
export const roomId = room.id;
import pulumi
import pulumi_aws_native as aws_native
room = aws_native.ivschat.Room("room",
    name="MyRoom",
    tags=[{
        "key": "MyKey",
        "value": "MyValue",
    }])
pulumi.export("roomArn", room.id)
pulumi.export("roomId", room.id)
Coming soon!
Create Room Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Room(name: string, args?: RoomArgs, opts?: CustomResourceOptions);@overload
def Room(resource_name: str,
         args: Optional[RoomArgs] = None,
         opts: Optional[ResourceOptions] = None)
@overload
def Room(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         logging_configuration_identifiers: Optional[Sequence[str]] = None,
         maximum_message_length: Optional[int] = None,
         maximum_message_rate_per_second: Optional[int] = None,
         message_review_handler: Optional[RoomMessageReviewHandlerArgs] = None,
         name: Optional[str] = None,
         tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewRoom(ctx *Context, name string, args *RoomArgs, opts ...ResourceOption) (*Room, error)public Room(string name, RoomArgs? args = null, CustomResourceOptions? opts = null)type: aws-native:ivschat:Room
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RoomArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RoomArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RoomArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RoomArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RoomArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Room Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Room resource accepts the following input properties:
- LoggingConfiguration List<string>Identifiers 
- Array of logging configuration identifiers attached to the room.
- MaximumMessage intLength 
- The maximum number of characters in a single message.
- MaximumMessage intRate Per Second 
- The maximum number of messages per second that can be sent to the room.
- MessageReview Pulumi.Handler Aws Native. Ivs Chat. Inputs. Room Message Review Handler 
- Configuration information for optional review of messages.
- Name string
- The name of the room. The value does not need to be unique.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- LoggingConfiguration []stringIdentifiers 
- Array of logging configuration identifiers attached to the room.
- MaximumMessage intLength 
- The maximum number of characters in a single message.
- MaximumMessage intRate Per Second 
- The maximum number of messages per second that can be sent to the room.
- MessageReview RoomHandler Message Review Handler Args 
- Configuration information for optional review of messages.
- Name string
- The name of the room. The value does not need to be unique.
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- loggingConfiguration List<String>Identifiers 
- Array of logging configuration identifiers attached to the room.
- maximumMessage IntegerLength 
- The maximum number of characters in a single message.
- maximumMessage IntegerRate Per Second 
- The maximum number of messages per second that can be sent to the room.
- messageReview RoomHandler Message Review Handler 
- Configuration information for optional review of messages.
- name String
- The name of the room. The value does not need to be unique.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- loggingConfiguration string[]Identifiers 
- Array of logging configuration identifiers attached to the room.
- maximumMessage numberLength 
- The maximum number of characters in a single message.
- maximumMessage numberRate Per Second 
- The maximum number of messages per second that can be sent to the room.
- messageReview RoomHandler Message Review Handler 
- Configuration information for optional review of messages.
- name string
- The name of the room. The value does not need to be unique.
- Tag[]
- An array of key-value pairs to apply to this resource.
- logging_configuration_ Sequence[str]identifiers 
- Array of logging configuration identifiers attached to the room.
- maximum_message_ intlength 
- The maximum number of characters in a single message.
- maximum_message_ intrate_ per_ second 
- The maximum number of messages per second that can be sent to the room.
- message_review_ Roomhandler Message Review Handler Args 
- Configuration information for optional review of messages.
- name str
- The name of the room. The value does not need to be unique.
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource.
- loggingConfiguration List<String>Identifiers 
- Array of logging configuration identifiers attached to the room.
- maximumMessage NumberLength 
- The maximum number of characters in a single message.
- maximumMessage NumberRate Per Second 
- The maximum number of messages per second that can be sent to the room.
- messageReview Property MapHandler 
- Configuration information for optional review of messages.
- name String
- The name of the room. The value does not need to be unique.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Room resource produces the following output properties:
Supporting Types
RoomMessageReviewHandler, RoomMessageReviewHandlerArgs        
- FallbackResult Pulumi.Aws Native. Ivs Chat. Room Message Review Handler Fallback Result 
- Specifies the fallback behavior if the handler does not return a valid response, encounters an error, or times out.
- Uri string
- Identifier of the message review handler.
- FallbackResult RoomMessage Review Handler Fallback Result 
- Specifies the fallback behavior if the handler does not return a valid response, encounters an error, or times out.
- Uri string
- Identifier of the message review handler.
- fallbackResult RoomMessage Review Handler Fallback Result 
- Specifies the fallback behavior if the handler does not return a valid response, encounters an error, or times out.
- uri String
- Identifier of the message review handler.
- fallbackResult RoomMessage Review Handler Fallback Result 
- Specifies the fallback behavior if the handler does not return a valid response, encounters an error, or times out.
- uri string
- Identifier of the message review handler.
- fallback_result RoomMessage Review Handler Fallback Result 
- Specifies the fallback behavior if the handler does not return a valid response, encounters an error, or times out.
- uri str
- Identifier of the message review handler.
- fallbackResult "ALLOW" | "DENY"
- Specifies the fallback behavior if the handler does not return a valid response, encounters an error, or times out.
- uri String
- Identifier of the message review handler.
RoomMessageReviewHandlerFallbackResult, RoomMessageReviewHandlerFallbackResultArgs            
- Allow
- ALLOW
- Deny
- DENY
- RoomMessage Review Handler Fallback Result Allow 
- ALLOW
- RoomMessage Review Handler Fallback Result Deny 
- DENY
- Allow
- ALLOW
- Deny
- DENY
- Allow
- ALLOW
- Deny
- DENY
- ALLOW
- ALLOW
- DENY
- DENY
- "ALLOW"
- ALLOW
- "DENY"
- DENY
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.