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 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)
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;
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 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)
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;
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:
- Logging
Configuration List<string>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 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.
- Logging
Configuration []stringIdentifiers - 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 string
- The name of the room. The value does not need to be unique.
- Tag
Args - An array of key-value pairs to apply to this resource.
- logging
Configuration List<String>Identifiers - Array of logging configuration identifiers attached to the room.
- maximum
Message IntegerLength - The maximum number of characters in a single message.
- maximum
Message IntegerRate Per Second - The maximum number of messages per second that can be sent to the room.
- message
Review 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.
- logging
Configuration string[]Identifiers - Array of logging configuration identifiers attached to the room.
- maximum
Message numberLength - The maximum number of characters in a single message.
- maximum
Message numberRate Per Second - The maximum number of messages per second that can be sent to the room.
- message
Review 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[Tag
Args] - An array of key-value pairs to apply to this resource.
- logging
Configuration List<String>Identifiers - Array of logging configuration identifiers attached to the room.
- maximum
Message NumberLength - The maximum number of characters in a single message.
- maximum
Message NumberRate Per Second - The maximum number of messages per second that can be sent to the room.
- message
Review 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
- Fallback
Result 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.
- 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 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 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 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.
- fallback
Result "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
- Room
Message Review Handler Fallback Result Allow - ALLOW
- Room
Message 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.