ivschat

package
v6.0.0-alpha.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggingConfiguration

type LoggingConfiguration struct {
	pulumi.CustomResourceState

	// ARN of the Logging Configuration.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Object containing destination configuration for where chat activity will be logged. This object must contain exactly one of the following children arguments:
	DestinationConfiguration LoggingConfigurationDestinationConfigurationPtrOutput `pulumi:"destinationConfiguration"`
	// Logging Configuration name.
	Name pulumi.StringOutput `pulumi:"name"`
	// State of the Logging Configuration.
	State pulumi.StringOutput `pulumi:"state"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS IVS (Interactive Video) Chat Logging Configuration.

## Example Usage ### Basic Usage - Logging to CloudWatch

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"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 {
		exampleLogGroup, err := cloudwatch.NewLogGroup(ctx, "exampleLogGroup", nil)
		if err != nil {
			return err
		}
		_, err = ivschat.NewLoggingConfiguration(ctx, "exampleLoggingConfiguration", &ivschat.LoggingConfigurationArgs{
			DestinationConfiguration: &ivschat.LoggingConfigurationDestinationConfigurationArgs{
				CloudwatchLogs: &ivschat.LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs{
					LogGroupName: exampleLogGroup.Name,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Basic Usage - Logging to Kinesis Firehose with Extended S3

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ivschat"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesis"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleBucketV2, err := s3.NewBucketV2(ctx, "exampleBucketV2", &s3.BucketV2Args{
			BucketPrefix: pulumi.String("tf-ivschat-logging-bucket"),
		})
		if err != nil {
			return err
		}
		assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"firehose.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"sts:AssumeRole",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{
			AssumeRolePolicy: *pulumi.String(assumeRole.Json),
		})
		if err != nil {
			return err
		}
		exampleFirehoseDeliveryStream, err := kinesis.NewFirehoseDeliveryStream(ctx, "exampleFirehoseDeliveryStream", &kinesis.FirehoseDeliveryStreamArgs{
			Destination: pulumi.String("extended_s3"),
			ExtendedS3Configuration: &kinesis.FirehoseDeliveryStreamExtendedS3ConfigurationArgs{
				RoleArn:   exampleRole.Arn,
				BucketArn: exampleBucketV2.Arn,
			},
			Tags: pulumi.StringMap{
				"LogDeliveryEnabled": pulumi.String("true"),
			},
		})
		if err != nil {
			return err
		}
		_, err = s3.NewBucketAclV2(ctx, "exampleBucketAclV2", &s3.BucketAclV2Args{
			Bucket: exampleBucketV2.ID(),
			Acl:    pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		_, err = ivschat.NewLoggingConfiguration(ctx, "exampleLoggingConfiguration", &ivschat.LoggingConfigurationArgs{
			DestinationConfiguration: &ivschat.LoggingConfigurationDestinationConfigurationArgs{
				Firehose: &ivschat.LoggingConfigurationDestinationConfigurationFirehoseArgs{
					DeliveryStreamName: exampleFirehoseDeliveryStream.Name,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_ivschat_logging_configuration.example

id = "arn:aws:ivschat:us-west-2:326937407773:logging-configuration/MMUQc8wcqZmC" } Using `pulumi import`, import IVS (Interactive Video) Chat Logging Configuration using the ARN. For exampleconsole % pulumi import aws_ivschat_logging_configuration.example arn:aws:ivschat:us-west-2:326937407773:logging-configuration/MMUQc8wcqZmC

func GetLoggingConfiguration

func GetLoggingConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LoggingConfigurationState, opts ...pulumi.ResourceOption) (*LoggingConfiguration, error)

GetLoggingConfiguration gets an existing LoggingConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLoggingConfiguration

func NewLoggingConfiguration(ctx *pulumi.Context,
	name string, args *LoggingConfigurationArgs, opts ...pulumi.ResourceOption) (*LoggingConfiguration, error)

NewLoggingConfiguration registers a new resource with the given unique name, arguments, and options.

func (*LoggingConfiguration) ElementType

func (*LoggingConfiguration) ElementType() reflect.Type

func (*LoggingConfiguration) ToLoggingConfigurationOutput

func (i *LoggingConfiguration) ToLoggingConfigurationOutput() LoggingConfigurationOutput

func (*LoggingConfiguration) ToLoggingConfigurationOutputWithContext

func (i *LoggingConfiguration) ToLoggingConfigurationOutputWithContext(ctx context.Context) LoggingConfigurationOutput

type LoggingConfigurationArgs

type LoggingConfigurationArgs struct {
	// Object containing destination configuration for where chat activity will be logged. This object must contain exactly one of the following children arguments:
	DestinationConfiguration LoggingConfigurationDestinationConfigurationPtrInput
	// Logging Configuration name.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a LoggingConfiguration resource.

func (LoggingConfigurationArgs) ElementType

func (LoggingConfigurationArgs) ElementType() reflect.Type

type LoggingConfigurationArray

type LoggingConfigurationArray []LoggingConfigurationInput

func (LoggingConfigurationArray) ElementType

func (LoggingConfigurationArray) ElementType() reflect.Type

func (LoggingConfigurationArray) ToLoggingConfigurationArrayOutput

func (i LoggingConfigurationArray) ToLoggingConfigurationArrayOutput() LoggingConfigurationArrayOutput

func (LoggingConfigurationArray) ToLoggingConfigurationArrayOutputWithContext

func (i LoggingConfigurationArray) ToLoggingConfigurationArrayOutputWithContext(ctx context.Context) LoggingConfigurationArrayOutput

type LoggingConfigurationArrayInput

type LoggingConfigurationArrayInput interface {
	pulumi.Input

	ToLoggingConfigurationArrayOutput() LoggingConfigurationArrayOutput
	ToLoggingConfigurationArrayOutputWithContext(context.Context) LoggingConfigurationArrayOutput
}

LoggingConfigurationArrayInput is an input type that accepts LoggingConfigurationArray and LoggingConfigurationArrayOutput values. You can construct a concrete instance of `LoggingConfigurationArrayInput` via:

LoggingConfigurationArray{ LoggingConfigurationArgs{...} }

type LoggingConfigurationArrayOutput

type LoggingConfigurationArrayOutput struct{ *pulumi.OutputState }

func (LoggingConfigurationArrayOutput) ElementType

func (LoggingConfigurationArrayOutput) Index

func (LoggingConfigurationArrayOutput) ToLoggingConfigurationArrayOutput

func (o LoggingConfigurationArrayOutput) ToLoggingConfigurationArrayOutput() LoggingConfigurationArrayOutput

func (LoggingConfigurationArrayOutput) ToLoggingConfigurationArrayOutputWithContext

func (o LoggingConfigurationArrayOutput) ToLoggingConfigurationArrayOutputWithContext(ctx context.Context) LoggingConfigurationArrayOutput

type LoggingConfigurationDestinationConfiguration

type LoggingConfigurationDestinationConfiguration struct {
	// An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
	CloudwatchLogs *LoggingConfigurationDestinationConfigurationCloudwatchLogs `pulumi:"cloudwatchLogs"`
	// An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
	Firehose *LoggingConfigurationDestinationConfigurationFirehose `pulumi:"firehose"`
	// An Amazon S3 destination configuration where chat activity will be logged.
	S3 *LoggingConfigurationDestinationConfigurationS3 `pulumi:"s3"`
}

type LoggingConfigurationDestinationConfigurationArgs

type LoggingConfigurationDestinationConfigurationArgs struct {
	// An Amazon CloudWatch Logs destination configuration where chat activity will be logged.
	CloudwatchLogs LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrInput `pulumi:"cloudwatchLogs"`
	// An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.
	Firehose LoggingConfigurationDestinationConfigurationFirehosePtrInput `pulumi:"firehose"`
	// An Amazon S3 destination configuration where chat activity will be logged.
	S3 LoggingConfigurationDestinationConfigurationS3PtrInput `pulumi:"s3"`
}

func (LoggingConfigurationDestinationConfigurationArgs) ElementType

func (LoggingConfigurationDestinationConfigurationArgs) ToLoggingConfigurationDestinationConfigurationOutput

func (i LoggingConfigurationDestinationConfigurationArgs) ToLoggingConfigurationDestinationConfigurationOutput() LoggingConfigurationDestinationConfigurationOutput

func (LoggingConfigurationDestinationConfigurationArgs) ToLoggingConfigurationDestinationConfigurationOutputWithContext

func (i LoggingConfigurationDestinationConfigurationArgs) ToLoggingConfigurationDestinationConfigurationOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationOutput

func (LoggingConfigurationDestinationConfigurationArgs) ToLoggingConfigurationDestinationConfigurationPtrOutput

func (i LoggingConfigurationDestinationConfigurationArgs) ToLoggingConfigurationDestinationConfigurationPtrOutput() LoggingConfigurationDestinationConfigurationPtrOutput

func (LoggingConfigurationDestinationConfigurationArgs) ToLoggingConfigurationDestinationConfigurationPtrOutputWithContext

func (i LoggingConfigurationDestinationConfigurationArgs) ToLoggingConfigurationDestinationConfigurationPtrOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationPtrOutput

type LoggingConfigurationDestinationConfigurationCloudwatchLogs

type LoggingConfigurationDestinationConfigurationCloudwatchLogs struct {
	// Name of the Amazon Cloudwatch Logs destination where chat activity will be logged.
	LogGroupName string `pulumi:"logGroupName"`
}

type LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs

type LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs struct {
	// Name of the Amazon Cloudwatch Logs destination where chat activity will be logged.
	LogGroupName pulumi.StringInput `pulumi:"logGroupName"`
}

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs) ElementType

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsOutput

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsOutputWithContext

func (i LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutputWithContext

func (i LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput

type LoggingConfigurationDestinationConfigurationCloudwatchLogsInput

type LoggingConfigurationDestinationConfigurationCloudwatchLogsInput interface {
	pulumi.Input

	ToLoggingConfigurationDestinationConfigurationCloudwatchLogsOutput() LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput
	ToLoggingConfigurationDestinationConfigurationCloudwatchLogsOutputWithContext(context.Context) LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput
}

LoggingConfigurationDestinationConfigurationCloudwatchLogsInput is an input type that accepts LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs and LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput values. You can construct a concrete instance of `LoggingConfigurationDestinationConfigurationCloudwatchLogsInput` via:

LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs{...}

type LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput

type LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput struct{ *pulumi.OutputState }

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput) ElementType

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput) LogGroupName

Name of the Amazon Cloudwatch Logs destination where chat activity will be logged.

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsOutput

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsOutputWithContext

func (o LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutputWithContext

func (o LoggingConfigurationDestinationConfigurationCloudwatchLogsOutput) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput

type LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrInput

type LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrInput interface {
	pulumi.Input

	ToLoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput() LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput
	ToLoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutputWithContext(context.Context) LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput
}

LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrInput is an input type that accepts LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs, LoggingConfigurationDestinationConfigurationCloudwatchLogsPtr and LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput values. You can construct a concrete instance of `LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrInput` via:

        LoggingConfigurationDestinationConfigurationCloudwatchLogsArgs{...}

or:

        nil

type LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput

type LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput struct{ *pulumi.OutputState }

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput) Elem

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput) ElementType

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput) LogGroupName

Name of the Amazon Cloudwatch Logs destination where chat activity will be logged.

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput

func (LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutputWithContext

func (o LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput) ToLoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationCloudwatchLogsPtrOutput

type LoggingConfigurationDestinationConfigurationFirehose

type LoggingConfigurationDestinationConfigurationFirehose struct {
	// Name of the Amazon Kinesis Firehose delivery stream where chat activity will be logged.
	DeliveryStreamName string `pulumi:"deliveryStreamName"`
}

type LoggingConfigurationDestinationConfigurationFirehoseArgs

type LoggingConfigurationDestinationConfigurationFirehoseArgs struct {
	// Name of the Amazon Kinesis Firehose delivery stream where chat activity will be logged.
	DeliveryStreamName pulumi.StringInput `pulumi:"deliveryStreamName"`
}

func (LoggingConfigurationDestinationConfigurationFirehoseArgs) ElementType

func (LoggingConfigurationDestinationConfigurationFirehoseArgs) ToLoggingConfigurationDestinationConfigurationFirehoseOutput

func (LoggingConfigurationDestinationConfigurationFirehoseArgs) ToLoggingConfigurationDestinationConfigurationFirehoseOutputWithContext

func (i LoggingConfigurationDestinationConfigurationFirehoseArgs) ToLoggingConfigurationDestinationConfigurationFirehoseOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationFirehoseOutput

func (LoggingConfigurationDestinationConfigurationFirehoseArgs) ToLoggingConfigurationDestinationConfigurationFirehosePtrOutput

func (i LoggingConfigurationDestinationConfigurationFirehoseArgs) ToLoggingConfigurationDestinationConfigurationFirehosePtrOutput() LoggingConfigurationDestinationConfigurationFirehosePtrOutput

func (LoggingConfigurationDestinationConfigurationFirehoseArgs) ToLoggingConfigurationDestinationConfigurationFirehosePtrOutputWithContext

func (i LoggingConfigurationDestinationConfigurationFirehoseArgs) ToLoggingConfigurationDestinationConfigurationFirehosePtrOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationFirehosePtrOutput

type LoggingConfigurationDestinationConfigurationFirehoseInput

type LoggingConfigurationDestinationConfigurationFirehoseInput interface {
	pulumi.Input

	ToLoggingConfigurationDestinationConfigurationFirehoseOutput() LoggingConfigurationDestinationConfigurationFirehoseOutput
	ToLoggingConfigurationDestinationConfigurationFirehoseOutputWithContext(context.Context) LoggingConfigurationDestinationConfigurationFirehoseOutput
}

LoggingConfigurationDestinationConfigurationFirehoseInput is an input type that accepts LoggingConfigurationDestinationConfigurationFirehoseArgs and LoggingConfigurationDestinationConfigurationFirehoseOutput values. You can construct a concrete instance of `LoggingConfigurationDestinationConfigurationFirehoseInput` via:

LoggingConfigurationDestinationConfigurationFirehoseArgs{...}

type LoggingConfigurationDestinationConfigurationFirehoseOutput

type LoggingConfigurationDestinationConfigurationFirehoseOutput struct{ *pulumi.OutputState }

func (LoggingConfigurationDestinationConfigurationFirehoseOutput) DeliveryStreamName

Name of the Amazon Kinesis Firehose delivery stream where chat activity will be logged.

func (LoggingConfigurationDestinationConfigurationFirehoseOutput) ElementType

func (LoggingConfigurationDestinationConfigurationFirehoseOutput) ToLoggingConfigurationDestinationConfigurationFirehoseOutput

func (LoggingConfigurationDestinationConfigurationFirehoseOutput) ToLoggingConfigurationDestinationConfigurationFirehoseOutputWithContext

func (o LoggingConfigurationDestinationConfigurationFirehoseOutput) ToLoggingConfigurationDestinationConfigurationFirehoseOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationFirehoseOutput

func (LoggingConfigurationDestinationConfigurationFirehoseOutput) ToLoggingConfigurationDestinationConfigurationFirehosePtrOutput

func (LoggingConfigurationDestinationConfigurationFirehoseOutput) ToLoggingConfigurationDestinationConfigurationFirehosePtrOutputWithContext

func (o LoggingConfigurationDestinationConfigurationFirehoseOutput) ToLoggingConfigurationDestinationConfigurationFirehosePtrOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationFirehosePtrOutput

type LoggingConfigurationDestinationConfigurationFirehosePtrInput

type LoggingConfigurationDestinationConfigurationFirehosePtrInput interface {
	pulumi.Input

	ToLoggingConfigurationDestinationConfigurationFirehosePtrOutput() LoggingConfigurationDestinationConfigurationFirehosePtrOutput
	ToLoggingConfigurationDestinationConfigurationFirehosePtrOutputWithContext(context.Context) LoggingConfigurationDestinationConfigurationFirehosePtrOutput
}

LoggingConfigurationDestinationConfigurationFirehosePtrInput is an input type that accepts LoggingConfigurationDestinationConfigurationFirehoseArgs, LoggingConfigurationDestinationConfigurationFirehosePtr and LoggingConfigurationDestinationConfigurationFirehosePtrOutput values. You can construct a concrete instance of `LoggingConfigurationDestinationConfigurationFirehosePtrInput` via:

        LoggingConfigurationDestinationConfigurationFirehoseArgs{...}

or:

        nil

type LoggingConfigurationDestinationConfigurationFirehosePtrOutput

type LoggingConfigurationDestinationConfigurationFirehosePtrOutput struct{ *pulumi.OutputState }

func (LoggingConfigurationDestinationConfigurationFirehosePtrOutput) DeliveryStreamName

Name of the Amazon Kinesis Firehose delivery stream where chat activity will be logged.

func (LoggingConfigurationDestinationConfigurationFirehosePtrOutput) Elem

func (LoggingConfigurationDestinationConfigurationFirehosePtrOutput) ElementType

func (LoggingConfigurationDestinationConfigurationFirehosePtrOutput) ToLoggingConfigurationDestinationConfigurationFirehosePtrOutput

func (LoggingConfigurationDestinationConfigurationFirehosePtrOutput) ToLoggingConfigurationDestinationConfigurationFirehosePtrOutputWithContext

func (o LoggingConfigurationDestinationConfigurationFirehosePtrOutput) ToLoggingConfigurationDestinationConfigurationFirehosePtrOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationFirehosePtrOutput

type LoggingConfigurationDestinationConfigurationInput

type LoggingConfigurationDestinationConfigurationInput interface {
	pulumi.Input

	ToLoggingConfigurationDestinationConfigurationOutput() LoggingConfigurationDestinationConfigurationOutput
	ToLoggingConfigurationDestinationConfigurationOutputWithContext(context.Context) LoggingConfigurationDestinationConfigurationOutput
}

LoggingConfigurationDestinationConfigurationInput is an input type that accepts LoggingConfigurationDestinationConfigurationArgs and LoggingConfigurationDestinationConfigurationOutput values. You can construct a concrete instance of `LoggingConfigurationDestinationConfigurationInput` via:

LoggingConfigurationDestinationConfigurationArgs{...}

type LoggingConfigurationDestinationConfigurationOutput

type LoggingConfigurationDestinationConfigurationOutput struct{ *pulumi.OutputState }

func (LoggingConfigurationDestinationConfigurationOutput) CloudwatchLogs

An Amazon CloudWatch Logs destination configuration where chat activity will be logged.

func (LoggingConfigurationDestinationConfigurationOutput) ElementType

func (LoggingConfigurationDestinationConfigurationOutput) Firehose

An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.

func (LoggingConfigurationDestinationConfigurationOutput) S3

An Amazon S3 destination configuration where chat activity will be logged.

func (LoggingConfigurationDestinationConfigurationOutput) ToLoggingConfigurationDestinationConfigurationOutput

func (o LoggingConfigurationDestinationConfigurationOutput) ToLoggingConfigurationDestinationConfigurationOutput() LoggingConfigurationDestinationConfigurationOutput

func (LoggingConfigurationDestinationConfigurationOutput) ToLoggingConfigurationDestinationConfigurationOutputWithContext

func (o LoggingConfigurationDestinationConfigurationOutput) ToLoggingConfigurationDestinationConfigurationOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationOutput

func (LoggingConfigurationDestinationConfigurationOutput) ToLoggingConfigurationDestinationConfigurationPtrOutput

func (o LoggingConfigurationDestinationConfigurationOutput) ToLoggingConfigurationDestinationConfigurationPtrOutput() LoggingConfigurationDestinationConfigurationPtrOutput

func (LoggingConfigurationDestinationConfigurationOutput) ToLoggingConfigurationDestinationConfigurationPtrOutputWithContext

func (o LoggingConfigurationDestinationConfigurationOutput) ToLoggingConfigurationDestinationConfigurationPtrOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationPtrOutput

type LoggingConfigurationDestinationConfigurationPtrInput

type LoggingConfigurationDestinationConfigurationPtrInput interface {
	pulumi.Input

	ToLoggingConfigurationDestinationConfigurationPtrOutput() LoggingConfigurationDestinationConfigurationPtrOutput
	ToLoggingConfigurationDestinationConfigurationPtrOutputWithContext(context.Context) LoggingConfigurationDestinationConfigurationPtrOutput
}

LoggingConfigurationDestinationConfigurationPtrInput is an input type that accepts LoggingConfigurationDestinationConfigurationArgs, LoggingConfigurationDestinationConfigurationPtr and LoggingConfigurationDestinationConfigurationPtrOutput values. You can construct a concrete instance of `LoggingConfigurationDestinationConfigurationPtrInput` via:

        LoggingConfigurationDestinationConfigurationArgs{...}

or:

        nil

type LoggingConfigurationDestinationConfigurationPtrOutput

type LoggingConfigurationDestinationConfigurationPtrOutput struct{ *pulumi.OutputState }

func (LoggingConfigurationDestinationConfigurationPtrOutput) CloudwatchLogs

An Amazon CloudWatch Logs destination configuration where chat activity will be logged.

func (LoggingConfigurationDestinationConfigurationPtrOutput) Elem

func (LoggingConfigurationDestinationConfigurationPtrOutput) ElementType

func (LoggingConfigurationDestinationConfigurationPtrOutput) Firehose

An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.

func (LoggingConfigurationDestinationConfigurationPtrOutput) S3

An Amazon S3 destination configuration where chat activity will be logged.

func (LoggingConfigurationDestinationConfigurationPtrOutput) ToLoggingConfigurationDestinationConfigurationPtrOutput

func (LoggingConfigurationDestinationConfigurationPtrOutput) ToLoggingConfigurationDestinationConfigurationPtrOutputWithContext

func (o LoggingConfigurationDestinationConfigurationPtrOutput) ToLoggingConfigurationDestinationConfigurationPtrOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationPtrOutput

type LoggingConfigurationDestinationConfigurationS3

type LoggingConfigurationDestinationConfigurationS3 struct {
	// Name of the Amazon S3 bucket where chat activity will be logged.
	//
	// The following arguments are optional:
	BucketName string `pulumi:"bucketName"`
}

type LoggingConfigurationDestinationConfigurationS3Args

type LoggingConfigurationDestinationConfigurationS3Args struct {
	// Name of the Amazon S3 bucket where chat activity will be logged.
	//
	// The following arguments are optional:
	BucketName pulumi.StringInput `pulumi:"bucketName"`
}

func (LoggingConfigurationDestinationConfigurationS3Args) ElementType

func (LoggingConfigurationDestinationConfigurationS3Args) ToLoggingConfigurationDestinationConfigurationS3Output

func (i LoggingConfigurationDestinationConfigurationS3Args) ToLoggingConfigurationDestinationConfigurationS3Output() LoggingConfigurationDestinationConfigurationS3Output

func (LoggingConfigurationDestinationConfigurationS3Args) ToLoggingConfigurationDestinationConfigurationS3OutputWithContext

func (i LoggingConfigurationDestinationConfigurationS3Args) ToLoggingConfigurationDestinationConfigurationS3OutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationS3Output

func (LoggingConfigurationDestinationConfigurationS3Args) ToLoggingConfigurationDestinationConfigurationS3PtrOutput

func (i LoggingConfigurationDestinationConfigurationS3Args) ToLoggingConfigurationDestinationConfigurationS3PtrOutput() LoggingConfigurationDestinationConfigurationS3PtrOutput

func (LoggingConfigurationDestinationConfigurationS3Args) ToLoggingConfigurationDestinationConfigurationS3PtrOutputWithContext

func (i LoggingConfigurationDestinationConfigurationS3Args) ToLoggingConfigurationDestinationConfigurationS3PtrOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationS3PtrOutput

type LoggingConfigurationDestinationConfigurationS3Input

type LoggingConfigurationDestinationConfigurationS3Input interface {
	pulumi.Input

	ToLoggingConfigurationDestinationConfigurationS3Output() LoggingConfigurationDestinationConfigurationS3Output
	ToLoggingConfigurationDestinationConfigurationS3OutputWithContext(context.Context) LoggingConfigurationDestinationConfigurationS3Output
}

LoggingConfigurationDestinationConfigurationS3Input is an input type that accepts LoggingConfigurationDestinationConfigurationS3Args and LoggingConfigurationDestinationConfigurationS3Output values. You can construct a concrete instance of `LoggingConfigurationDestinationConfigurationS3Input` via:

LoggingConfigurationDestinationConfigurationS3Args{...}

type LoggingConfigurationDestinationConfigurationS3Output

type LoggingConfigurationDestinationConfigurationS3Output struct{ *pulumi.OutputState }

func (LoggingConfigurationDestinationConfigurationS3Output) BucketName

Name of the Amazon S3 bucket where chat activity will be logged.

The following arguments are optional:

func (LoggingConfigurationDestinationConfigurationS3Output) ElementType

func (LoggingConfigurationDestinationConfigurationS3Output) ToLoggingConfigurationDestinationConfigurationS3Output

func (LoggingConfigurationDestinationConfigurationS3Output) ToLoggingConfigurationDestinationConfigurationS3OutputWithContext

func (o LoggingConfigurationDestinationConfigurationS3Output) ToLoggingConfigurationDestinationConfigurationS3OutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationS3Output

func (LoggingConfigurationDestinationConfigurationS3Output) ToLoggingConfigurationDestinationConfigurationS3PtrOutput

func (o LoggingConfigurationDestinationConfigurationS3Output) ToLoggingConfigurationDestinationConfigurationS3PtrOutput() LoggingConfigurationDestinationConfigurationS3PtrOutput

func (LoggingConfigurationDestinationConfigurationS3Output) ToLoggingConfigurationDestinationConfigurationS3PtrOutputWithContext

func (o LoggingConfigurationDestinationConfigurationS3Output) ToLoggingConfigurationDestinationConfigurationS3PtrOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationS3PtrOutput

type LoggingConfigurationDestinationConfigurationS3PtrInput

type LoggingConfigurationDestinationConfigurationS3PtrInput interface {
	pulumi.Input

	ToLoggingConfigurationDestinationConfigurationS3PtrOutput() LoggingConfigurationDestinationConfigurationS3PtrOutput
	ToLoggingConfigurationDestinationConfigurationS3PtrOutputWithContext(context.Context) LoggingConfigurationDestinationConfigurationS3PtrOutput
}

LoggingConfigurationDestinationConfigurationS3PtrInput is an input type that accepts LoggingConfigurationDestinationConfigurationS3Args, LoggingConfigurationDestinationConfigurationS3Ptr and LoggingConfigurationDestinationConfigurationS3PtrOutput values. You can construct a concrete instance of `LoggingConfigurationDestinationConfigurationS3PtrInput` via:

        LoggingConfigurationDestinationConfigurationS3Args{...}

or:

        nil

type LoggingConfigurationDestinationConfigurationS3PtrOutput

type LoggingConfigurationDestinationConfigurationS3PtrOutput struct{ *pulumi.OutputState }

func (LoggingConfigurationDestinationConfigurationS3PtrOutput) BucketName

Name of the Amazon S3 bucket where chat activity will be logged.

The following arguments are optional:

func (LoggingConfigurationDestinationConfigurationS3PtrOutput) Elem

func (LoggingConfigurationDestinationConfigurationS3PtrOutput) ElementType

func (LoggingConfigurationDestinationConfigurationS3PtrOutput) ToLoggingConfigurationDestinationConfigurationS3PtrOutput

func (LoggingConfigurationDestinationConfigurationS3PtrOutput) ToLoggingConfigurationDestinationConfigurationS3PtrOutputWithContext

func (o LoggingConfigurationDestinationConfigurationS3PtrOutput) ToLoggingConfigurationDestinationConfigurationS3PtrOutputWithContext(ctx context.Context) LoggingConfigurationDestinationConfigurationS3PtrOutput

type LoggingConfigurationInput

type LoggingConfigurationInput interface {
	pulumi.Input

	ToLoggingConfigurationOutput() LoggingConfigurationOutput
	ToLoggingConfigurationOutputWithContext(ctx context.Context) LoggingConfigurationOutput
}

type LoggingConfigurationMap

type LoggingConfigurationMap map[string]LoggingConfigurationInput

func (LoggingConfigurationMap) ElementType

func (LoggingConfigurationMap) ElementType() reflect.Type

func (LoggingConfigurationMap) ToLoggingConfigurationMapOutput

func (i LoggingConfigurationMap) ToLoggingConfigurationMapOutput() LoggingConfigurationMapOutput

func (LoggingConfigurationMap) ToLoggingConfigurationMapOutputWithContext

func (i LoggingConfigurationMap) ToLoggingConfigurationMapOutputWithContext(ctx context.Context) LoggingConfigurationMapOutput

type LoggingConfigurationMapInput

type LoggingConfigurationMapInput interface {
	pulumi.Input

	ToLoggingConfigurationMapOutput() LoggingConfigurationMapOutput
	ToLoggingConfigurationMapOutputWithContext(context.Context) LoggingConfigurationMapOutput
}

LoggingConfigurationMapInput is an input type that accepts LoggingConfigurationMap and LoggingConfigurationMapOutput values. You can construct a concrete instance of `LoggingConfigurationMapInput` via:

LoggingConfigurationMap{ "key": LoggingConfigurationArgs{...} }

type LoggingConfigurationMapOutput

type LoggingConfigurationMapOutput struct{ *pulumi.OutputState }

func (LoggingConfigurationMapOutput) ElementType

func (LoggingConfigurationMapOutput) MapIndex

func (LoggingConfigurationMapOutput) ToLoggingConfigurationMapOutput

func (o LoggingConfigurationMapOutput) ToLoggingConfigurationMapOutput() LoggingConfigurationMapOutput

func (LoggingConfigurationMapOutput) ToLoggingConfigurationMapOutputWithContext

func (o LoggingConfigurationMapOutput) ToLoggingConfigurationMapOutputWithContext(ctx context.Context) LoggingConfigurationMapOutput

type LoggingConfigurationOutput

type LoggingConfigurationOutput struct{ *pulumi.OutputState }

func (LoggingConfigurationOutput) Arn

ARN of the Logging Configuration.

func (LoggingConfigurationOutput) DestinationConfiguration

Object containing destination configuration for where chat activity will be logged. This object must contain exactly one of the following children arguments:

func (LoggingConfigurationOutput) ElementType

func (LoggingConfigurationOutput) ElementType() reflect.Type

func (LoggingConfigurationOutput) Name

Logging Configuration name.

func (LoggingConfigurationOutput) State

State of the Logging Configuration.

func (LoggingConfigurationOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (LoggingConfigurationOutput) TagsAll

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (LoggingConfigurationOutput) ToLoggingConfigurationOutput

func (o LoggingConfigurationOutput) ToLoggingConfigurationOutput() LoggingConfigurationOutput

func (LoggingConfigurationOutput) ToLoggingConfigurationOutputWithContext

func (o LoggingConfigurationOutput) ToLoggingConfigurationOutputWithContext(ctx context.Context) LoggingConfigurationOutput

type LoggingConfigurationState

type LoggingConfigurationState struct {
	// ARN of the Logging Configuration.
	Arn pulumi.StringPtrInput
	// Object containing destination configuration for where chat activity will be logged. This object must contain exactly one of the following children arguments:
	DestinationConfiguration LoggingConfigurationDestinationConfigurationPtrInput
	// Logging Configuration name.
	Name pulumi.StringPtrInput
	// State of the Logging Configuration.
	State pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

func (LoggingConfigurationState) ElementType

func (LoggingConfigurationState) ElementType() reflect.Type

type Room

type Room struct {
	pulumi.CustomResourceState

	// ARN of the Room.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// List of Logging Configuration
	// ARNs to attach to the room.
	LoggingConfigurationIdentifiers pulumi.StringArrayOutput `pulumi:"loggingConfigurationIdentifiers"`
	// 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.
	MaximumMessageLength pulumi.IntOutput `pulumi:"maximumMessageLength"`
	// Maximum number of messages per
	// second that can be sent to the room (by all clients).
	MaximumMessageRatePerSecond pulumi.IntOutput `pulumi:"maximumMessageRatePerSecond"`
	// Configuration information for optional
	// review of messages.
	MessageReviewHandler RoomMessageReviewHandlerPtrOutput `pulumi:"messageReviewHandler"`
	// Room name.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS IVS (Interactive Video) Chat Room.

## Example Usage ### Basic Usage

```go 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", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## Usage with Logging Configuration to S3 Bucket

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ivschat"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleBucketV2, err := s3.NewBucketV2(ctx, "exampleBucketV2", &s3.BucketV2Args{
			BucketPrefix: pulumi.String("tf-ivschat-logging-bucket-"),
			ForceDestroy: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleLoggingConfiguration, err := ivschat.NewLoggingConfiguration(ctx, "exampleLoggingConfiguration", &ivschat.LoggingConfigurationArgs{
			DestinationConfiguration: &ivschat.LoggingConfigurationDestinationConfigurationArgs{
				S3: &ivschat.LoggingConfigurationDestinationConfigurationS3Args{
					BucketName: exampleBucketV2.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = ivschat.NewRoom(ctx, "exampleRoom", &ivschat.RoomArgs{
			LoggingConfigurationIdentifiers: pulumi.StringArray{
				exampleLoggingConfiguration.Arn,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_ivschat_room.example

id = "arn:aws:ivschat:us-west-2:326937407773:room/GoXEXyB4VwHb" } Using `pulumi import`, import IVS (Interactive Video) Chat Room using the ARN. For exampleconsole % pulumi import aws_ivschat_room.example arn:aws:ivschat:us-west-2:326937407773:room/GoXEXyB4VwHb

func GetRoom

func GetRoom(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoomState, opts ...pulumi.ResourceOption) (*Room, error)

GetRoom gets an existing Room resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRoom

func NewRoom(ctx *pulumi.Context,
	name string, args *RoomArgs, opts ...pulumi.ResourceOption) (*Room, error)

NewRoom registers a new resource with the given unique name, arguments, and options.

func (*Room) ElementType

func (*Room) ElementType() reflect.Type

func (*Room) ToRoomOutput

func (i *Room) ToRoomOutput() RoomOutput

func (*Room) ToRoomOutputWithContext

func (i *Room) ToRoomOutputWithContext(ctx context.Context) RoomOutput

type RoomArgs

type RoomArgs struct {
	// List of Logging Configuration
	// ARNs to attach to the room.
	LoggingConfigurationIdentifiers pulumi.StringArrayInput
	// 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.
	MaximumMessageLength pulumi.IntPtrInput
	// Maximum number of messages per
	// second that can be sent to the room (by all clients).
	MaximumMessageRatePerSecond pulumi.IntPtrInput
	// Configuration information for optional
	// review of messages.
	MessageReviewHandler RoomMessageReviewHandlerPtrInput
	// Room name.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Room resource.

func (RoomArgs) ElementType

func (RoomArgs) ElementType() reflect.Type

type RoomArray

type RoomArray []RoomInput

func (RoomArray) ElementType

func (RoomArray) ElementType() reflect.Type

func (RoomArray) ToRoomArrayOutput

func (i RoomArray) ToRoomArrayOutput() RoomArrayOutput

func (RoomArray) ToRoomArrayOutputWithContext

func (i RoomArray) ToRoomArrayOutputWithContext(ctx context.Context) RoomArrayOutput

type RoomArrayInput

type RoomArrayInput interface {
	pulumi.Input

	ToRoomArrayOutput() RoomArrayOutput
	ToRoomArrayOutputWithContext(context.Context) RoomArrayOutput
}

RoomArrayInput is an input type that accepts RoomArray and RoomArrayOutput values. You can construct a concrete instance of `RoomArrayInput` via:

RoomArray{ RoomArgs{...} }

type RoomArrayOutput

type RoomArrayOutput struct{ *pulumi.OutputState }

func (RoomArrayOutput) ElementType

func (RoomArrayOutput) ElementType() reflect.Type

func (RoomArrayOutput) Index

func (RoomArrayOutput) ToRoomArrayOutput

func (o RoomArrayOutput) ToRoomArrayOutput() RoomArrayOutput

func (RoomArrayOutput) ToRoomArrayOutputWithContext

func (o RoomArrayOutput) ToRoomArrayOutputWithContext(ctx context.Context) RoomArrayOutput

type RoomInput

type RoomInput interface {
	pulumi.Input

	ToRoomOutput() RoomOutput
	ToRoomOutputWithContext(ctx context.Context) RoomOutput
}

type RoomMap

type RoomMap map[string]RoomInput

func (RoomMap) ElementType

func (RoomMap) ElementType() reflect.Type

func (RoomMap) ToRoomMapOutput

func (i RoomMap) ToRoomMapOutput() RoomMapOutput

func (RoomMap) ToRoomMapOutputWithContext

func (i RoomMap) ToRoomMapOutputWithContext(ctx context.Context) RoomMapOutput

type RoomMapInput

type RoomMapInput interface {
	pulumi.Input

	ToRoomMapOutput() RoomMapOutput
	ToRoomMapOutputWithContext(context.Context) RoomMapOutput
}

RoomMapInput is an input type that accepts RoomMap and RoomMapOutput values. You can construct a concrete instance of `RoomMapInput` via:

RoomMap{ "key": RoomArgs{...} }

type RoomMapOutput

type RoomMapOutput struct{ *pulumi.OutputState }

func (RoomMapOutput) ElementType

func (RoomMapOutput) ElementType() reflect.Type

func (RoomMapOutput) MapIndex

func (RoomMapOutput) ToRoomMapOutput

func (o RoomMapOutput) ToRoomMapOutput() RoomMapOutput

func (RoomMapOutput) ToRoomMapOutputWithContext

func (o RoomMapOutput) ToRoomMapOutputWithContext(ctx context.Context) RoomMapOutput

type RoomMessageReviewHandler

type RoomMessageReviewHandler struct {
	// The fallback behavior (whether the message
	// is allowed or denied) if the handler does not return a valid response,
	// encounters an error, or times out. Valid values: `ALLOW`, `DENY`.
	FallbackResult *string `pulumi:"fallbackResult"`
	// ARN of the lambda message review handler function.
	Uri *string `pulumi:"uri"`
}

type RoomMessageReviewHandlerArgs

type RoomMessageReviewHandlerArgs struct {
	// The fallback behavior (whether the message
	// is allowed or denied) if the handler does not return a valid response,
	// encounters an error, or times out. Valid values: `ALLOW`, `DENY`.
	FallbackResult pulumi.StringPtrInput `pulumi:"fallbackResult"`
	// ARN of the lambda message review handler function.
	Uri pulumi.StringPtrInput `pulumi:"uri"`
}

func (RoomMessageReviewHandlerArgs) ElementType

func (RoomMessageReviewHandlerArgs) ToRoomMessageReviewHandlerOutput

func (i RoomMessageReviewHandlerArgs) ToRoomMessageReviewHandlerOutput() RoomMessageReviewHandlerOutput

func (RoomMessageReviewHandlerArgs) ToRoomMessageReviewHandlerOutputWithContext

func (i RoomMessageReviewHandlerArgs) ToRoomMessageReviewHandlerOutputWithContext(ctx context.Context) RoomMessageReviewHandlerOutput

func (RoomMessageReviewHandlerArgs) ToRoomMessageReviewHandlerPtrOutput

func (i RoomMessageReviewHandlerArgs) ToRoomMessageReviewHandlerPtrOutput() RoomMessageReviewHandlerPtrOutput

func (RoomMessageReviewHandlerArgs) ToRoomMessageReviewHandlerPtrOutputWithContext

func (i RoomMessageReviewHandlerArgs) ToRoomMessageReviewHandlerPtrOutputWithContext(ctx context.Context) RoomMessageReviewHandlerPtrOutput

type RoomMessageReviewHandlerInput

type RoomMessageReviewHandlerInput interface {
	pulumi.Input

	ToRoomMessageReviewHandlerOutput() RoomMessageReviewHandlerOutput
	ToRoomMessageReviewHandlerOutputWithContext(context.Context) RoomMessageReviewHandlerOutput
}

RoomMessageReviewHandlerInput is an input type that accepts RoomMessageReviewHandlerArgs and RoomMessageReviewHandlerOutput values. You can construct a concrete instance of `RoomMessageReviewHandlerInput` via:

RoomMessageReviewHandlerArgs{...}

type RoomMessageReviewHandlerOutput

type RoomMessageReviewHandlerOutput struct{ *pulumi.OutputState }

func (RoomMessageReviewHandlerOutput) ElementType

func (RoomMessageReviewHandlerOutput) FallbackResult

The fallback behavior (whether the message is allowed or denied) if the handler does not return a valid response, encounters an error, or times out. Valid values: `ALLOW`, `DENY`.

func (RoomMessageReviewHandlerOutput) ToRoomMessageReviewHandlerOutput

func (o RoomMessageReviewHandlerOutput) ToRoomMessageReviewHandlerOutput() RoomMessageReviewHandlerOutput

func (RoomMessageReviewHandlerOutput) ToRoomMessageReviewHandlerOutputWithContext

func (o RoomMessageReviewHandlerOutput) ToRoomMessageReviewHandlerOutputWithContext(ctx context.Context) RoomMessageReviewHandlerOutput

func (RoomMessageReviewHandlerOutput) ToRoomMessageReviewHandlerPtrOutput

func (o RoomMessageReviewHandlerOutput) ToRoomMessageReviewHandlerPtrOutput() RoomMessageReviewHandlerPtrOutput

func (RoomMessageReviewHandlerOutput) ToRoomMessageReviewHandlerPtrOutputWithContext

func (o RoomMessageReviewHandlerOutput) ToRoomMessageReviewHandlerPtrOutputWithContext(ctx context.Context) RoomMessageReviewHandlerPtrOutput

func (RoomMessageReviewHandlerOutput) Uri

ARN of the lambda message review handler function.

type RoomMessageReviewHandlerPtrInput

type RoomMessageReviewHandlerPtrInput interface {
	pulumi.Input

	ToRoomMessageReviewHandlerPtrOutput() RoomMessageReviewHandlerPtrOutput
	ToRoomMessageReviewHandlerPtrOutputWithContext(context.Context) RoomMessageReviewHandlerPtrOutput
}

RoomMessageReviewHandlerPtrInput is an input type that accepts RoomMessageReviewHandlerArgs, RoomMessageReviewHandlerPtr and RoomMessageReviewHandlerPtrOutput values. You can construct a concrete instance of `RoomMessageReviewHandlerPtrInput` via:

        RoomMessageReviewHandlerArgs{...}

or:

        nil

type RoomMessageReviewHandlerPtrOutput

type RoomMessageReviewHandlerPtrOutput struct{ *pulumi.OutputState }

func (RoomMessageReviewHandlerPtrOutput) Elem

func (RoomMessageReviewHandlerPtrOutput) ElementType

func (RoomMessageReviewHandlerPtrOutput) FallbackResult

The fallback behavior (whether the message is allowed or denied) if the handler does not return a valid response, encounters an error, or times out. Valid values: `ALLOW`, `DENY`.

func (RoomMessageReviewHandlerPtrOutput) ToRoomMessageReviewHandlerPtrOutput

func (o RoomMessageReviewHandlerPtrOutput) ToRoomMessageReviewHandlerPtrOutput() RoomMessageReviewHandlerPtrOutput

func (RoomMessageReviewHandlerPtrOutput) ToRoomMessageReviewHandlerPtrOutputWithContext

func (o RoomMessageReviewHandlerPtrOutput) ToRoomMessageReviewHandlerPtrOutputWithContext(ctx context.Context) RoomMessageReviewHandlerPtrOutput

func (RoomMessageReviewHandlerPtrOutput) Uri

ARN of the lambda message review handler function.

type RoomOutput

type RoomOutput struct{ *pulumi.OutputState }

func (RoomOutput) Arn

func (o RoomOutput) Arn() pulumi.StringOutput

ARN of the Room.

func (RoomOutput) ElementType

func (RoomOutput) ElementType() reflect.Type

func (RoomOutput) LoggingConfigurationIdentifiers

func (o RoomOutput) LoggingConfigurationIdentifiers() pulumi.StringArrayOutput

List of Logging Configuration ARNs to attach to the room.

func (RoomOutput) MaximumMessageLength

func (o RoomOutput) MaximumMessageLength() pulumi.IntOutput

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.

func (RoomOutput) MaximumMessageRatePerSecond

func (o RoomOutput) MaximumMessageRatePerSecond() pulumi.IntOutput

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

func (RoomOutput) MessageReviewHandler

func (o RoomOutput) MessageReviewHandler() RoomMessageReviewHandlerPtrOutput

Configuration information for optional review of messages.

func (RoomOutput) Name

func (o RoomOutput) Name() pulumi.StringOutput

Room name.

func (RoomOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (RoomOutput) TagsAll

func (o RoomOutput) TagsAll() pulumi.StringMapOutput

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

func (RoomOutput) ToRoomOutput

func (o RoomOutput) ToRoomOutput() RoomOutput

func (RoomOutput) ToRoomOutputWithContext

func (o RoomOutput) ToRoomOutputWithContext(ctx context.Context) RoomOutput

type RoomState

type RoomState struct {
	// ARN of the Room.
	Arn pulumi.StringPtrInput
	// List of Logging Configuration
	// ARNs to attach to the room.
	LoggingConfigurationIdentifiers pulumi.StringArrayInput
	// 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.
	MaximumMessageLength pulumi.IntPtrInput
	// Maximum number of messages per
	// second that can be sent to the room (by all clients).
	MaximumMessageRatePerSecond pulumi.IntPtrInput
	// Configuration information for optional
	// review of messages.
	MessageReviewHandler RoomMessageReviewHandlerPtrInput
	// Room name.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

func (RoomState) ElementType

func (RoomState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL