chime

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SdkvoiceGlobalSettings

type SdkvoiceGlobalSettings struct {
	pulumi.CustomResourceState

	// The Voice Connector settings. See voice_connector.
	VoiceConnector SdkvoiceGlobalSettingsVoiceConnectorOutput `pulumi:"voiceConnector"`
}

Resource for managing Amazon Chime SDK Voice Global Settings.

## Example Usage ### Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := chime.NewSdkvoiceGlobalSettings(ctx, "example", &chime.SdkvoiceGlobalSettingsArgs{
			VoiceConnector: &chime.SdkvoiceGlobalSettingsVoiceConnectorArgs{
				CdrBucket: pulumi.String("example-bucket-name"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_chimesdkvoice_global_settings.example

id = "123456789012" } Using `pulumi import`, import AWS Chime SDK Voice Global Settings using the `id` (AWS account ID). For exampleconsole % pulumi import aws_chimesdkvoice_global_settings.example 123456789012

func GetSdkvoiceGlobalSettings

func GetSdkvoiceGlobalSettings(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SdkvoiceGlobalSettingsState, opts ...pulumi.ResourceOption) (*SdkvoiceGlobalSettings, error)

GetSdkvoiceGlobalSettings gets an existing SdkvoiceGlobalSettings 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 NewSdkvoiceGlobalSettings

func NewSdkvoiceGlobalSettings(ctx *pulumi.Context,
	name string, args *SdkvoiceGlobalSettingsArgs, opts ...pulumi.ResourceOption) (*SdkvoiceGlobalSettings, error)

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

func (*SdkvoiceGlobalSettings) ElementType

func (*SdkvoiceGlobalSettings) ElementType() reflect.Type

func (*SdkvoiceGlobalSettings) ToSdkvoiceGlobalSettingsOutput

func (i *SdkvoiceGlobalSettings) ToSdkvoiceGlobalSettingsOutput() SdkvoiceGlobalSettingsOutput

func (*SdkvoiceGlobalSettings) ToSdkvoiceGlobalSettingsOutputWithContext

func (i *SdkvoiceGlobalSettings) ToSdkvoiceGlobalSettingsOutputWithContext(ctx context.Context) SdkvoiceGlobalSettingsOutput

type SdkvoiceGlobalSettingsArgs

type SdkvoiceGlobalSettingsArgs struct {
	// The Voice Connector settings. See voice_connector.
	VoiceConnector SdkvoiceGlobalSettingsVoiceConnectorInput
}

The set of arguments for constructing a SdkvoiceGlobalSettings resource.

func (SdkvoiceGlobalSettingsArgs) ElementType

func (SdkvoiceGlobalSettingsArgs) ElementType() reflect.Type

type SdkvoiceGlobalSettingsArray

type SdkvoiceGlobalSettingsArray []SdkvoiceGlobalSettingsInput

func (SdkvoiceGlobalSettingsArray) ElementType

func (SdkvoiceGlobalSettingsArray) ToSdkvoiceGlobalSettingsArrayOutput

func (i SdkvoiceGlobalSettingsArray) ToSdkvoiceGlobalSettingsArrayOutput() SdkvoiceGlobalSettingsArrayOutput

func (SdkvoiceGlobalSettingsArray) ToSdkvoiceGlobalSettingsArrayOutputWithContext

func (i SdkvoiceGlobalSettingsArray) ToSdkvoiceGlobalSettingsArrayOutputWithContext(ctx context.Context) SdkvoiceGlobalSettingsArrayOutput

type SdkvoiceGlobalSettingsArrayInput

type SdkvoiceGlobalSettingsArrayInput interface {
	pulumi.Input

	ToSdkvoiceGlobalSettingsArrayOutput() SdkvoiceGlobalSettingsArrayOutput
	ToSdkvoiceGlobalSettingsArrayOutputWithContext(context.Context) SdkvoiceGlobalSettingsArrayOutput
}

SdkvoiceGlobalSettingsArrayInput is an input type that accepts SdkvoiceGlobalSettingsArray and SdkvoiceGlobalSettingsArrayOutput values. You can construct a concrete instance of `SdkvoiceGlobalSettingsArrayInput` via:

SdkvoiceGlobalSettingsArray{ SdkvoiceGlobalSettingsArgs{...} }

type SdkvoiceGlobalSettingsArrayOutput

type SdkvoiceGlobalSettingsArrayOutput struct{ *pulumi.OutputState }

func (SdkvoiceGlobalSettingsArrayOutput) ElementType

func (SdkvoiceGlobalSettingsArrayOutput) Index

func (SdkvoiceGlobalSettingsArrayOutput) ToSdkvoiceGlobalSettingsArrayOutput

func (o SdkvoiceGlobalSettingsArrayOutput) ToSdkvoiceGlobalSettingsArrayOutput() SdkvoiceGlobalSettingsArrayOutput

func (SdkvoiceGlobalSettingsArrayOutput) ToSdkvoiceGlobalSettingsArrayOutputWithContext

func (o SdkvoiceGlobalSettingsArrayOutput) ToSdkvoiceGlobalSettingsArrayOutputWithContext(ctx context.Context) SdkvoiceGlobalSettingsArrayOutput

type SdkvoiceGlobalSettingsInput

type SdkvoiceGlobalSettingsInput interface {
	pulumi.Input

	ToSdkvoiceGlobalSettingsOutput() SdkvoiceGlobalSettingsOutput
	ToSdkvoiceGlobalSettingsOutputWithContext(ctx context.Context) SdkvoiceGlobalSettingsOutput
}

type SdkvoiceGlobalSettingsMap

type SdkvoiceGlobalSettingsMap map[string]SdkvoiceGlobalSettingsInput

func (SdkvoiceGlobalSettingsMap) ElementType

func (SdkvoiceGlobalSettingsMap) ElementType() reflect.Type

func (SdkvoiceGlobalSettingsMap) ToSdkvoiceGlobalSettingsMapOutput

func (i SdkvoiceGlobalSettingsMap) ToSdkvoiceGlobalSettingsMapOutput() SdkvoiceGlobalSettingsMapOutput

func (SdkvoiceGlobalSettingsMap) ToSdkvoiceGlobalSettingsMapOutputWithContext

func (i SdkvoiceGlobalSettingsMap) ToSdkvoiceGlobalSettingsMapOutputWithContext(ctx context.Context) SdkvoiceGlobalSettingsMapOutput

type SdkvoiceGlobalSettingsMapInput

type SdkvoiceGlobalSettingsMapInput interface {
	pulumi.Input

	ToSdkvoiceGlobalSettingsMapOutput() SdkvoiceGlobalSettingsMapOutput
	ToSdkvoiceGlobalSettingsMapOutputWithContext(context.Context) SdkvoiceGlobalSettingsMapOutput
}

SdkvoiceGlobalSettingsMapInput is an input type that accepts SdkvoiceGlobalSettingsMap and SdkvoiceGlobalSettingsMapOutput values. You can construct a concrete instance of `SdkvoiceGlobalSettingsMapInput` via:

SdkvoiceGlobalSettingsMap{ "key": SdkvoiceGlobalSettingsArgs{...} }

type SdkvoiceGlobalSettingsMapOutput

type SdkvoiceGlobalSettingsMapOutput struct{ *pulumi.OutputState }

func (SdkvoiceGlobalSettingsMapOutput) ElementType

func (SdkvoiceGlobalSettingsMapOutput) MapIndex

func (SdkvoiceGlobalSettingsMapOutput) ToSdkvoiceGlobalSettingsMapOutput

func (o SdkvoiceGlobalSettingsMapOutput) ToSdkvoiceGlobalSettingsMapOutput() SdkvoiceGlobalSettingsMapOutput

func (SdkvoiceGlobalSettingsMapOutput) ToSdkvoiceGlobalSettingsMapOutputWithContext

func (o SdkvoiceGlobalSettingsMapOutput) ToSdkvoiceGlobalSettingsMapOutputWithContext(ctx context.Context) SdkvoiceGlobalSettingsMapOutput

type SdkvoiceGlobalSettingsOutput

type SdkvoiceGlobalSettingsOutput struct{ *pulumi.OutputState }

func (SdkvoiceGlobalSettingsOutput) ElementType

func (SdkvoiceGlobalSettingsOutput) ToSdkvoiceGlobalSettingsOutput

func (o SdkvoiceGlobalSettingsOutput) ToSdkvoiceGlobalSettingsOutput() SdkvoiceGlobalSettingsOutput

func (SdkvoiceGlobalSettingsOutput) ToSdkvoiceGlobalSettingsOutputWithContext

func (o SdkvoiceGlobalSettingsOutput) ToSdkvoiceGlobalSettingsOutputWithContext(ctx context.Context) SdkvoiceGlobalSettingsOutput

func (SdkvoiceGlobalSettingsOutput) VoiceConnector

The Voice Connector settings. See voice_connector.

type SdkvoiceGlobalSettingsState

type SdkvoiceGlobalSettingsState struct {
	// The Voice Connector settings. See voice_connector.
	VoiceConnector SdkvoiceGlobalSettingsVoiceConnectorPtrInput
}

func (SdkvoiceGlobalSettingsState) ElementType

type SdkvoiceGlobalSettingsVoiceConnector

type SdkvoiceGlobalSettingsVoiceConnector struct {
	// The S3 bucket that stores the Voice Connector's call detail records.
	CdrBucket *string `pulumi:"cdrBucket"`
}

type SdkvoiceGlobalSettingsVoiceConnectorArgs

type SdkvoiceGlobalSettingsVoiceConnectorArgs struct {
	// The S3 bucket that stores the Voice Connector's call detail records.
	CdrBucket pulumi.StringPtrInput `pulumi:"cdrBucket"`
}

func (SdkvoiceGlobalSettingsVoiceConnectorArgs) ElementType

func (SdkvoiceGlobalSettingsVoiceConnectorArgs) ToSdkvoiceGlobalSettingsVoiceConnectorOutput

func (i SdkvoiceGlobalSettingsVoiceConnectorArgs) ToSdkvoiceGlobalSettingsVoiceConnectorOutput() SdkvoiceGlobalSettingsVoiceConnectorOutput

func (SdkvoiceGlobalSettingsVoiceConnectorArgs) ToSdkvoiceGlobalSettingsVoiceConnectorOutputWithContext

func (i SdkvoiceGlobalSettingsVoiceConnectorArgs) ToSdkvoiceGlobalSettingsVoiceConnectorOutputWithContext(ctx context.Context) SdkvoiceGlobalSettingsVoiceConnectorOutput

func (SdkvoiceGlobalSettingsVoiceConnectorArgs) ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutput

func (i SdkvoiceGlobalSettingsVoiceConnectorArgs) ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutput() SdkvoiceGlobalSettingsVoiceConnectorPtrOutput

func (SdkvoiceGlobalSettingsVoiceConnectorArgs) ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutputWithContext

func (i SdkvoiceGlobalSettingsVoiceConnectorArgs) ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutputWithContext(ctx context.Context) SdkvoiceGlobalSettingsVoiceConnectorPtrOutput

type SdkvoiceGlobalSettingsVoiceConnectorInput

type SdkvoiceGlobalSettingsVoiceConnectorInput interface {
	pulumi.Input

	ToSdkvoiceGlobalSettingsVoiceConnectorOutput() SdkvoiceGlobalSettingsVoiceConnectorOutput
	ToSdkvoiceGlobalSettingsVoiceConnectorOutputWithContext(context.Context) SdkvoiceGlobalSettingsVoiceConnectorOutput
}

SdkvoiceGlobalSettingsVoiceConnectorInput is an input type that accepts SdkvoiceGlobalSettingsVoiceConnectorArgs and SdkvoiceGlobalSettingsVoiceConnectorOutput values. You can construct a concrete instance of `SdkvoiceGlobalSettingsVoiceConnectorInput` via:

SdkvoiceGlobalSettingsVoiceConnectorArgs{...}

type SdkvoiceGlobalSettingsVoiceConnectorOutput

type SdkvoiceGlobalSettingsVoiceConnectorOutput struct{ *pulumi.OutputState }

func (SdkvoiceGlobalSettingsVoiceConnectorOutput) CdrBucket

The S3 bucket that stores the Voice Connector's call detail records.

func (SdkvoiceGlobalSettingsVoiceConnectorOutput) ElementType

func (SdkvoiceGlobalSettingsVoiceConnectorOutput) ToSdkvoiceGlobalSettingsVoiceConnectorOutput

func (o SdkvoiceGlobalSettingsVoiceConnectorOutput) ToSdkvoiceGlobalSettingsVoiceConnectorOutput() SdkvoiceGlobalSettingsVoiceConnectorOutput

func (SdkvoiceGlobalSettingsVoiceConnectorOutput) ToSdkvoiceGlobalSettingsVoiceConnectorOutputWithContext

func (o SdkvoiceGlobalSettingsVoiceConnectorOutput) ToSdkvoiceGlobalSettingsVoiceConnectorOutputWithContext(ctx context.Context) SdkvoiceGlobalSettingsVoiceConnectorOutput

func (SdkvoiceGlobalSettingsVoiceConnectorOutput) ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutput

func (o SdkvoiceGlobalSettingsVoiceConnectorOutput) ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutput() SdkvoiceGlobalSettingsVoiceConnectorPtrOutput

func (SdkvoiceGlobalSettingsVoiceConnectorOutput) ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutputWithContext

func (o SdkvoiceGlobalSettingsVoiceConnectorOutput) ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutputWithContext(ctx context.Context) SdkvoiceGlobalSettingsVoiceConnectorPtrOutput

type SdkvoiceGlobalSettingsVoiceConnectorPtrInput

type SdkvoiceGlobalSettingsVoiceConnectorPtrInput interface {
	pulumi.Input

	ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutput() SdkvoiceGlobalSettingsVoiceConnectorPtrOutput
	ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutputWithContext(context.Context) SdkvoiceGlobalSettingsVoiceConnectorPtrOutput
}

SdkvoiceGlobalSettingsVoiceConnectorPtrInput is an input type that accepts SdkvoiceGlobalSettingsVoiceConnectorArgs, SdkvoiceGlobalSettingsVoiceConnectorPtr and SdkvoiceGlobalSettingsVoiceConnectorPtrOutput values. You can construct a concrete instance of `SdkvoiceGlobalSettingsVoiceConnectorPtrInput` via:

        SdkvoiceGlobalSettingsVoiceConnectorArgs{...}

or:

        nil

type SdkvoiceGlobalSettingsVoiceConnectorPtrOutput

type SdkvoiceGlobalSettingsVoiceConnectorPtrOutput struct{ *pulumi.OutputState }

func (SdkvoiceGlobalSettingsVoiceConnectorPtrOutput) CdrBucket

The S3 bucket that stores the Voice Connector's call detail records.

func (SdkvoiceGlobalSettingsVoiceConnectorPtrOutput) Elem

func (SdkvoiceGlobalSettingsVoiceConnectorPtrOutput) ElementType

func (SdkvoiceGlobalSettingsVoiceConnectorPtrOutput) ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutput

func (o SdkvoiceGlobalSettingsVoiceConnectorPtrOutput) ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutput() SdkvoiceGlobalSettingsVoiceConnectorPtrOutput

func (SdkvoiceGlobalSettingsVoiceConnectorPtrOutput) ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutputWithContext

func (o SdkvoiceGlobalSettingsVoiceConnectorPtrOutput) ToSdkvoiceGlobalSettingsVoiceConnectorPtrOutputWithContext(ctx context.Context) SdkvoiceGlobalSettingsVoiceConnectorPtrOutput

type SdkvoiceSipMediaApplication

type SdkvoiceSipMediaApplication struct {
	pulumi.CustomResourceState

	// ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
	AwsRegion pulumi.StringOutput `pulumi:"awsRegion"`
	// List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See `endpoints`.
	Endpoints SdkvoiceSipMediaApplicationEndpointsOutput `pulumi:"endpoints"`
	// The name of the AWS Chime SDK Voice Sip Media Application.
	//
	// The following arguments are optional:
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value mapping of resource tags. 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"`
}

A ChimeSDKVoice SIP Media Application is a managed object that passes values from a SIP rule to a target AWS Lambda function.

## Example Usage ### Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := chime.NewSdkvoiceSipMediaApplication(ctx, "example", &chime.SdkvoiceSipMediaApplicationArgs{
			AwsRegion: pulumi.String("us-east-1"),
			Endpoints: &chime.SdkvoiceSipMediaApplicationEndpointsArgs{
				LambdaArn: pulumi.Any(aws_lambda_function.Test.Arn),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_chimesdkvoice_sip_media_application.example

id = "abcdef123456" } Using `pulumi import`, import a ChimeSDKVoice SIP Media Application using the `id`. For exampleconsole % pulumi import aws_chimesdkvoice_sip_media_application.example abcdef123456

func GetSdkvoiceSipMediaApplication

func GetSdkvoiceSipMediaApplication(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SdkvoiceSipMediaApplicationState, opts ...pulumi.ResourceOption) (*SdkvoiceSipMediaApplication, error)

GetSdkvoiceSipMediaApplication gets an existing SdkvoiceSipMediaApplication 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 NewSdkvoiceSipMediaApplication

func NewSdkvoiceSipMediaApplication(ctx *pulumi.Context,
	name string, args *SdkvoiceSipMediaApplicationArgs, opts ...pulumi.ResourceOption) (*SdkvoiceSipMediaApplication, error)

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

func (*SdkvoiceSipMediaApplication) ElementType

func (*SdkvoiceSipMediaApplication) ElementType() reflect.Type

func (*SdkvoiceSipMediaApplication) ToSdkvoiceSipMediaApplicationOutput

func (i *SdkvoiceSipMediaApplication) ToSdkvoiceSipMediaApplicationOutput() SdkvoiceSipMediaApplicationOutput

func (*SdkvoiceSipMediaApplication) ToSdkvoiceSipMediaApplicationOutputWithContext

func (i *SdkvoiceSipMediaApplication) ToSdkvoiceSipMediaApplicationOutputWithContext(ctx context.Context) SdkvoiceSipMediaApplicationOutput

type SdkvoiceSipMediaApplicationArgs

type SdkvoiceSipMediaApplicationArgs struct {
	// The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
	AwsRegion pulumi.StringInput
	// List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See `endpoints`.
	Endpoints SdkvoiceSipMediaApplicationEndpointsInput
	// The name of the AWS Chime SDK Voice Sip Media Application.
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Key-value mapping of resource tags. 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 SdkvoiceSipMediaApplication resource.

func (SdkvoiceSipMediaApplicationArgs) ElementType

type SdkvoiceSipMediaApplicationArray

type SdkvoiceSipMediaApplicationArray []SdkvoiceSipMediaApplicationInput

func (SdkvoiceSipMediaApplicationArray) ElementType

func (SdkvoiceSipMediaApplicationArray) ToSdkvoiceSipMediaApplicationArrayOutput

func (i SdkvoiceSipMediaApplicationArray) ToSdkvoiceSipMediaApplicationArrayOutput() SdkvoiceSipMediaApplicationArrayOutput

func (SdkvoiceSipMediaApplicationArray) ToSdkvoiceSipMediaApplicationArrayOutputWithContext

func (i SdkvoiceSipMediaApplicationArray) ToSdkvoiceSipMediaApplicationArrayOutputWithContext(ctx context.Context) SdkvoiceSipMediaApplicationArrayOutput

type SdkvoiceSipMediaApplicationArrayInput

type SdkvoiceSipMediaApplicationArrayInput interface {
	pulumi.Input

	ToSdkvoiceSipMediaApplicationArrayOutput() SdkvoiceSipMediaApplicationArrayOutput
	ToSdkvoiceSipMediaApplicationArrayOutputWithContext(context.Context) SdkvoiceSipMediaApplicationArrayOutput
}

SdkvoiceSipMediaApplicationArrayInput is an input type that accepts SdkvoiceSipMediaApplicationArray and SdkvoiceSipMediaApplicationArrayOutput values. You can construct a concrete instance of `SdkvoiceSipMediaApplicationArrayInput` via:

SdkvoiceSipMediaApplicationArray{ SdkvoiceSipMediaApplicationArgs{...} }

type SdkvoiceSipMediaApplicationArrayOutput

type SdkvoiceSipMediaApplicationArrayOutput struct{ *pulumi.OutputState }

func (SdkvoiceSipMediaApplicationArrayOutput) ElementType

func (SdkvoiceSipMediaApplicationArrayOutput) Index

func (SdkvoiceSipMediaApplicationArrayOutput) ToSdkvoiceSipMediaApplicationArrayOutput

func (o SdkvoiceSipMediaApplicationArrayOutput) ToSdkvoiceSipMediaApplicationArrayOutput() SdkvoiceSipMediaApplicationArrayOutput

func (SdkvoiceSipMediaApplicationArrayOutput) ToSdkvoiceSipMediaApplicationArrayOutputWithContext

func (o SdkvoiceSipMediaApplicationArrayOutput) ToSdkvoiceSipMediaApplicationArrayOutputWithContext(ctx context.Context) SdkvoiceSipMediaApplicationArrayOutput

type SdkvoiceSipMediaApplicationEndpoints

type SdkvoiceSipMediaApplicationEndpoints struct {
	// Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.
	LambdaArn string `pulumi:"lambdaArn"`
}

type SdkvoiceSipMediaApplicationEndpointsArgs

type SdkvoiceSipMediaApplicationEndpointsArgs struct {
	// Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.
	LambdaArn pulumi.StringInput `pulumi:"lambdaArn"`
}

func (SdkvoiceSipMediaApplicationEndpointsArgs) ElementType

func (SdkvoiceSipMediaApplicationEndpointsArgs) ToSdkvoiceSipMediaApplicationEndpointsOutput

func (i SdkvoiceSipMediaApplicationEndpointsArgs) ToSdkvoiceSipMediaApplicationEndpointsOutput() SdkvoiceSipMediaApplicationEndpointsOutput

func (SdkvoiceSipMediaApplicationEndpointsArgs) ToSdkvoiceSipMediaApplicationEndpointsOutputWithContext

func (i SdkvoiceSipMediaApplicationEndpointsArgs) ToSdkvoiceSipMediaApplicationEndpointsOutputWithContext(ctx context.Context) SdkvoiceSipMediaApplicationEndpointsOutput

func (SdkvoiceSipMediaApplicationEndpointsArgs) ToSdkvoiceSipMediaApplicationEndpointsPtrOutput

func (i SdkvoiceSipMediaApplicationEndpointsArgs) ToSdkvoiceSipMediaApplicationEndpointsPtrOutput() SdkvoiceSipMediaApplicationEndpointsPtrOutput

func (SdkvoiceSipMediaApplicationEndpointsArgs) ToSdkvoiceSipMediaApplicationEndpointsPtrOutputWithContext

func (i SdkvoiceSipMediaApplicationEndpointsArgs) ToSdkvoiceSipMediaApplicationEndpointsPtrOutputWithContext(ctx context.Context) SdkvoiceSipMediaApplicationEndpointsPtrOutput

type SdkvoiceSipMediaApplicationEndpointsInput

type SdkvoiceSipMediaApplicationEndpointsInput interface {
	pulumi.Input

	ToSdkvoiceSipMediaApplicationEndpointsOutput() SdkvoiceSipMediaApplicationEndpointsOutput
	ToSdkvoiceSipMediaApplicationEndpointsOutputWithContext(context.Context) SdkvoiceSipMediaApplicationEndpointsOutput
}

SdkvoiceSipMediaApplicationEndpointsInput is an input type that accepts SdkvoiceSipMediaApplicationEndpointsArgs and SdkvoiceSipMediaApplicationEndpointsOutput values. You can construct a concrete instance of `SdkvoiceSipMediaApplicationEndpointsInput` via:

SdkvoiceSipMediaApplicationEndpointsArgs{...}

type SdkvoiceSipMediaApplicationEndpointsOutput

type SdkvoiceSipMediaApplicationEndpointsOutput struct{ *pulumi.OutputState }

func (SdkvoiceSipMediaApplicationEndpointsOutput) ElementType

func (SdkvoiceSipMediaApplicationEndpointsOutput) LambdaArn

Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.

func (SdkvoiceSipMediaApplicationEndpointsOutput) ToSdkvoiceSipMediaApplicationEndpointsOutput

func (o SdkvoiceSipMediaApplicationEndpointsOutput) ToSdkvoiceSipMediaApplicationEndpointsOutput() SdkvoiceSipMediaApplicationEndpointsOutput

func (SdkvoiceSipMediaApplicationEndpointsOutput) ToSdkvoiceSipMediaApplicationEndpointsOutputWithContext

func (o SdkvoiceSipMediaApplicationEndpointsOutput) ToSdkvoiceSipMediaApplicationEndpointsOutputWithContext(ctx context.Context) SdkvoiceSipMediaApplicationEndpointsOutput

func (SdkvoiceSipMediaApplicationEndpointsOutput) ToSdkvoiceSipMediaApplicationEndpointsPtrOutput

func (o SdkvoiceSipMediaApplicationEndpointsOutput) ToSdkvoiceSipMediaApplicationEndpointsPtrOutput() SdkvoiceSipMediaApplicationEndpointsPtrOutput

func (SdkvoiceSipMediaApplicationEndpointsOutput) ToSdkvoiceSipMediaApplicationEndpointsPtrOutputWithContext

func (o SdkvoiceSipMediaApplicationEndpointsOutput) ToSdkvoiceSipMediaApplicationEndpointsPtrOutputWithContext(ctx context.Context) SdkvoiceSipMediaApplicationEndpointsPtrOutput

type SdkvoiceSipMediaApplicationEndpointsPtrInput

type SdkvoiceSipMediaApplicationEndpointsPtrInput interface {
	pulumi.Input

	ToSdkvoiceSipMediaApplicationEndpointsPtrOutput() SdkvoiceSipMediaApplicationEndpointsPtrOutput
	ToSdkvoiceSipMediaApplicationEndpointsPtrOutputWithContext(context.Context) SdkvoiceSipMediaApplicationEndpointsPtrOutput
}

SdkvoiceSipMediaApplicationEndpointsPtrInput is an input type that accepts SdkvoiceSipMediaApplicationEndpointsArgs, SdkvoiceSipMediaApplicationEndpointsPtr and SdkvoiceSipMediaApplicationEndpointsPtrOutput values. You can construct a concrete instance of `SdkvoiceSipMediaApplicationEndpointsPtrInput` via:

        SdkvoiceSipMediaApplicationEndpointsArgs{...}

or:

        nil

type SdkvoiceSipMediaApplicationEndpointsPtrOutput

type SdkvoiceSipMediaApplicationEndpointsPtrOutput struct{ *pulumi.OutputState }

func (SdkvoiceSipMediaApplicationEndpointsPtrOutput) Elem

func (SdkvoiceSipMediaApplicationEndpointsPtrOutput) ElementType

func (SdkvoiceSipMediaApplicationEndpointsPtrOutput) LambdaArn

Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.

func (SdkvoiceSipMediaApplicationEndpointsPtrOutput) ToSdkvoiceSipMediaApplicationEndpointsPtrOutput

func (o SdkvoiceSipMediaApplicationEndpointsPtrOutput) ToSdkvoiceSipMediaApplicationEndpointsPtrOutput() SdkvoiceSipMediaApplicationEndpointsPtrOutput

func (SdkvoiceSipMediaApplicationEndpointsPtrOutput) ToSdkvoiceSipMediaApplicationEndpointsPtrOutputWithContext

func (o SdkvoiceSipMediaApplicationEndpointsPtrOutput) ToSdkvoiceSipMediaApplicationEndpointsPtrOutputWithContext(ctx context.Context) SdkvoiceSipMediaApplicationEndpointsPtrOutput

type SdkvoiceSipMediaApplicationInput

type SdkvoiceSipMediaApplicationInput interface {
	pulumi.Input

	ToSdkvoiceSipMediaApplicationOutput() SdkvoiceSipMediaApplicationOutput
	ToSdkvoiceSipMediaApplicationOutputWithContext(ctx context.Context) SdkvoiceSipMediaApplicationOutput
}

type SdkvoiceSipMediaApplicationMap

type SdkvoiceSipMediaApplicationMap map[string]SdkvoiceSipMediaApplicationInput

func (SdkvoiceSipMediaApplicationMap) ElementType

func (SdkvoiceSipMediaApplicationMap) ToSdkvoiceSipMediaApplicationMapOutput

func (i SdkvoiceSipMediaApplicationMap) ToSdkvoiceSipMediaApplicationMapOutput() SdkvoiceSipMediaApplicationMapOutput

func (SdkvoiceSipMediaApplicationMap) ToSdkvoiceSipMediaApplicationMapOutputWithContext

func (i SdkvoiceSipMediaApplicationMap) ToSdkvoiceSipMediaApplicationMapOutputWithContext(ctx context.Context) SdkvoiceSipMediaApplicationMapOutput

type SdkvoiceSipMediaApplicationMapInput

type SdkvoiceSipMediaApplicationMapInput interface {
	pulumi.Input

	ToSdkvoiceSipMediaApplicationMapOutput() SdkvoiceSipMediaApplicationMapOutput
	ToSdkvoiceSipMediaApplicationMapOutputWithContext(context.Context) SdkvoiceSipMediaApplicationMapOutput
}

SdkvoiceSipMediaApplicationMapInput is an input type that accepts SdkvoiceSipMediaApplicationMap and SdkvoiceSipMediaApplicationMapOutput values. You can construct a concrete instance of `SdkvoiceSipMediaApplicationMapInput` via:

SdkvoiceSipMediaApplicationMap{ "key": SdkvoiceSipMediaApplicationArgs{...} }

type SdkvoiceSipMediaApplicationMapOutput

type SdkvoiceSipMediaApplicationMapOutput struct{ *pulumi.OutputState }

func (SdkvoiceSipMediaApplicationMapOutput) ElementType

func (SdkvoiceSipMediaApplicationMapOutput) MapIndex

func (SdkvoiceSipMediaApplicationMapOutput) ToSdkvoiceSipMediaApplicationMapOutput

func (o SdkvoiceSipMediaApplicationMapOutput) ToSdkvoiceSipMediaApplicationMapOutput() SdkvoiceSipMediaApplicationMapOutput

func (SdkvoiceSipMediaApplicationMapOutput) ToSdkvoiceSipMediaApplicationMapOutputWithContext

func (o SdkvoiceSipMediaApplicationMapOutput) ToSdkvoiceSipMediaApplicationMapOutputWithContext(ctx context.Context) SdkvoiceSipMediaApplicationMapOutput

type SdkvoiceSipMediaApplicationOutput

type SdkvoiceSipMediaApplicationOutput struct{ *pulumi.OutputState }

func (SdkvoiceSipMediaApplicationOutput) Arn

ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application

func (SdkvoiceSipMediaApplicationOutput) AwsRegion

The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.

func (SdkvoiceSipMediaApplicationOutput) ElementType

func (SdkvoiceSipMediaApplicationOutput) Endpoints

List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See `endpoints`.

func (SdkvoiceSipMediaApplicationOutput) Name

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

func (SdkvoiceSipMediaApplicationOutput) Tags

Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (SdkvoiceSipMediaApplicationOutput) TagsAll

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

func (SdkvoiceSipMediaApplicationOutput) ToSdkvoiceSipMediaApplicationOutput

func (o SdkvoiceSipMediaApplicationOutput) ToSdkvoiceSipMediaApplicationOutput() SdkvoiceSipMediaApplicationOutput

func (SdkvoiceSipMediaApplicationOutput) ToSdkvoiceSipMediaApplicationOutputWithContext

func (o SdkvoiceSipMediaApplicationOutput) ToSdkvoiceSipMediaApplicationOutputWithContext(ctx context.Context) SdkvoiceSipMediaApplicationOutput

type SdkvoiceSipMediaApplicationState

type SdkvoiceSipMediaApplicationState struct {
	// ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
	Arn pulumi.StringPtrInput
	// The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
	AwsRegion pulumi.StringPtrInput
	// List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See `endpoints`.
	Endpoints SdkvoiceSipMediaApplicationEndpointsPtrInput
	// The name of the AWS Chime SDK Voice Sip Media Application.
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Key-value mapping of resource tags. 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 (SdkvoiceSipMediaApplicationState) ElementType

type SdkvoiceSipRule

type SdkvoiceSipRule struct {
	pulumi.CustomResourceState

	// Enables or disables a rule. You must disable rules before you can delete them.
	Disabled pulumi.BoolPtrOutput `pulumi:"disabled"`
	// The name of the SIP rule.
	Name pulumi.StringOutput `pulumi:"name"`
	// List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used. See `targetApplications`.
	TargetApplications SdkvoiceSipRuleTargetApplicationArrayOutput `pulumi:"targetApplications"`
	// The type of trigger assigned to the SIP rule in `triggerValue`. Valid values are `RequestUriHostname` or `ToPhoneNumber`.
	TriggerType pulumi.StringOutput `pulumi:"triggerType"`
	// If `triggerType` is `RequestUriHostname`, the value can be the outbound host name of an Amazon Chime Voice Connector. If `triggerType` is `ToPhoneNumber`, the value can be a customer-owned phone number in the E164 format. The Sip Media Application specified in the Sip Rule is triggered if the request URI in an incoming SIP request matches the `RequestUriHostname`, or if the "To" header in the incoming SIP request matches the `ToPhoneNumber` value.
	//
	// The following arguments are optional:
	TriggerValue pulumi.StringOutput `pulumi:"triggerValue"`
}

A SIP rule associates your SIP media application with a phone number or a Request URI hostname. You can associate a SIP rule with more than one SIP media application. Each application then runs only that rule.

## Example Usage ### Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := chime.NewSdkvoiceSipRule(ctx, "example", &chime.SdkvoiceSipRuleArgs{
			TriggerType:  pulumi.String("RequestUriHostname"),
			TriggerValue: pulumi.Any(aws_chime_voice_connector.ExampleVoiceConnector.Outbound_host_name),
			TargetApplications: chime.SdkvoiceSipRuleTargetApplicationArray{
				&chime.SdkvoiceSipRuleTargetApplicationArgs{
					Priority:              pulumi.Int(1),
					SipMediaApplicationId: pulumi.Any(aws_chimesdkvoice_sip_media_application.ExampleSma.Id),
					AwsRegion:             pulumi.String("us-east-1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_chimesdkvoice_sip_rule.example

id = "abcdef123456" } Using `pulumi import`, import a ChimeSDKVoice SIP Rule using the `id`. For exampleconsole % pulumi import aws_chimesdkvoice_sip_rule.example abcdef123456

func GetSdkvoiceSipRule

func GetSdkvoiceSipRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SdkvoiceSipRuleState, opts ...pulumi.ResourceOption) (*SdkvoiceSipRule, error)

GetSdkvoiceSipRule gets an existing SdkvoiceSipRule 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 NewSdkvoiceSipRule

func NewSdkvoiceSipRule(ctx *pulumi.Context,
	name string, args *SdkvoiceSipRuleArgs, opts ...pulumi.ResourceOption) (*SdkvoiceSipRule, error)

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

func (*SdkvoiceSipRule) ElementType

func (*SdkvoiceSipRule) ElementType() reflect.Type

func (*SdkvoiceSipRule) ToSdkvoiceSipRuleOutput

func (i *SdkvoiceSipRule) ToSdkvoiceSipRuleOutput() SdkvoiceSipRuleOutput

func (*SdkvoiceSipRule) ToSdkvoiceSipRuleOutputWithContext

func (i *SdkvoiceSipRule) ToSdkvoiceSipRuleOutputWithContext(ctx context.Context) SdkvoiceSipRuleOutput

type SdkvoiceSipRuleArgs

type SdkvoiceSipRuleArgs struct {
	// Enables or disables a rule. You must disable rules before you can delete them.
	Disabled pulumi.BoolPtrInput
	// The name of the SIP rule.
	Name pulumi.StringPtrInput
	// List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used. See `targetApplications`.
	TargetApplications SdkvoiceSipRuleTargetApplicationArrayInput
	// The type of trigger assigned to the SIP rule in `triggerValue`. Valid values are `RequestUriHostname` or `ToPhoneNumber`.
	TriggerType pulumi.StringInput
	// If `triggerType` is `RequestUriHostname`, the value can be the outbound host name of an Amazon Chime Voice Connector. If `triggerType` is `ToPhoneNumber`, the value can be a customer-owned phone number in the E164 format. The Sip Media Application specified in the Sip Rule is triggered if the request URI in an incoming SIP request matches the `RequestUriHostname`, or if the "To" header in the incoming SIP request matches the `ToPhoneNumber` value.
	//
	// The following arguments are optional:
	TriggerValue pulumi.StringInput
}

The set of arguments for constructing a SdkvoiceSipRule resource.

func (SdkvoiceSipRuleArgs) ElementType

func (SdkvoiceSipRuleArgs) ElementType() reflect.Type

type SdkvoiceSipRuleArray

type SdkvoiceSipRuleArray []SdkvoiceSipRuleInput

func (SdkvoiceSipRuleArray) ElementType

func (SdkvoiceSipRuleArray) ElementType() reflect.Type

func (SdkvoiceSipRuleArray) ToSdkvoiceSipRuleArrayOutput

func (i SdkvoiceSipRuleArray) ToSdkvoiceSipRuleArrayOutput() SdkvoiceSipRuleArrayOutput

func (SdkvoiceSipRuleArray) ToSdkvoiceSipRuleArrayOutputWithContext

func (i SdkvoiceSipRuleArray) ToSdkvoiceSipRuleArrayOutputWithContext(ctx context.Context) SdkvoiceSipRuleArrayOutput

type SdkvoiceSipRuleArrayInput

type SdkvoiceSipRuleArrayInput interface {
	pulumi.Input

	ToSdkvoiceSipRuleArrayOutput() SdkvoiceSipRuleArrayOutput
	ToSdkvoiceSipRuleArrayOutputWithContext(context.Context) SdkvoiceSipRuleArrayOutput
}

SdkvoiceSipRuleArrayInput is an input type that accepts SdkvoiceSipRuleArray and SdkvoiceSipRuleArrayOutput values. You can construct a concrete instance of `SdkvoiceSipRuleArrayInput` via:

SdkvoiceSipRuleArray{ SdkvoiceSipRuleArgs{...} }

type SdkvoiceSipRuleArrayOutput

type SdkvoiceSipRuleArrayOutput struct{ *pulumi.OutputState }

func (SdkvoiceSipRuleArrayOutput) ElementType

func (SdkvoiceSipRuleArrayOutput) ElementType() reflect.Type

func (SdkvoiceSipRuleArrayOutput) Index

func (SdkvoiceSipRuleArrayOutput) ToSdkvoiceSipRuleArrayOutput

func (o SdkvoiceSipRuleArrayOutput) ToSdkvoiceSipRuleArrayOutput() SdkvoiceSipRuleArrayOutput

func (SdkvoiceSipRuleArrayOutput) ToSdkvoiceSipRuleArrayOutputWithContext

func (o SdkvoiceSipRuleArrayOutput) ToSdkvoiceSipRuleArrayOutputWithContext(ctx context.Context) SdkvoiceSipRuleArrayOutput

type SdkvoiceSipRuleInput

type SdkvoiceSipRuleInput interface {
	pulumi.Input

	ToSdkvoiceSipRuleOutput() SdkvoiceSipRuleOutput
	ToSdkvoiceSipRuleOutputWithContext(ctx context.Context) SdkvoiceSipRuleOutput
}

type SdkvoiceSipRuleMap

type SdkvoiceSipRuleMap map[string]SdkvoiceSipRuleInput

func (SdkvoiceSipRuleMap) ElementType

func (SdkvoiceSipRuleMap) ElementType() reflect.Type

func (SdkvoiceSipRuleMap) ToSdkvoiceSipRuleMapOutput

func (i SdkvoiceSipRuleMap) ToSdkvoiceSipRuleMapOutput() SdkvoiceSipRuleMapOutput

func (SdkvoiceSipRuleMap) ToSdkvoiceSipRuleMapOutputWithContext

func (i SdkvoiceSipRuleMap) ToSdkvoiceSipRuleMapOutputWithContext(ctx context.Context) SdkvoiceSipRuleMapOutput

type SdkvoiceSipRuleMapInput

type SdkvoiceSipRuleMapInput interface {
	pulumi.Input

	ToSdkvoiceSipRuleMapOutput() SdkvoiceSipRuleMapOutput
	ToSdkvoiceSipRuleMapOutputWithContext(context.Context) SdkvoiceSipRuleMapOutput
}

SdkvoiceSipRuleMapInput is an input type that accepts SdkvoiceSipRuleMap and SdkvoiceSipRuleMapOutput values. You can construct a concrete instance of `SdkvoiceSipRuleMapInput` via:

SdkvoiceSipRuleMap{ "key": SdkvoiceSipRuleArgs{...} }

type SdkvoiceSipRuleMapOutput

type SdkvoiceSipRuleMapOutput struct{ *pulumi.OutputState }

func (SdkvoiceSipRuleMapOutput) ElementType

func (SdkvoiceSipRuleMapOutput) ElementType() reflect.Type

func (SdkvoiceSipRuleMapOutput) MapIndex

func (SdkvoiceSipRuleMapOutput) ToSdkvoiceSipRuleMapOutput

func (o SdkvoiceSipRuleMapOutput) ToSdkvoiceSipRuleMapOutput() SdkvoiceSipRuleMapOutput

func (SdkvoiceSipRuleMapOutput) ToSdkvoiceSipRuleMapOutputWithContext

func (o SdkvoiceSipRuleMapOutput) ToSdkvoiceSipRuleMapOutputWithContext(ctx context.Context) SdkvoiceSipRuleMapOutput

type SdkvoiceSipRuleOutput

type SdkvoiceSipRuleOutput struct{ *pulumi.OutputState }

func (SdkvoiceSipRuleOutput) Disabled

Enables or disables a rule. You must disable rules before you can delete them.

func (SdkvoiceSipRuleOutput) ElementType

func (SdkvoiceSipRuleOutput) ElementType() reflect.Type

func (SdkvoiceSipRuleOutput) Name

The name of the SIP rule.

func (SdkvoiceSipRuleOutput) TargetApplications

List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used. See `targetApplications`.

func (SdkvoiceSipRuleOutput) ToSdkvoiceSipRuleOutput

func (o SdkvoiceSipRuleOutput) ToSdkvoiceSipRuleOutput() SdkvoiceSipRuleOutput

func (SdkvoiceSipRuleOutput) ToSdkvoiceSipRuleOutputWithContext

func (o SdkvoiceSipRuleOutput) ToSdkvoiceSipRuleOutputWithContext(ctx context.Context) SdkvoiceSipRuleOutput

func (SdkvoiceSipRuleOutput) TriggerType

func (o SdkvoiceSipRuleOutput) TriggerType() pulumi.StringOutput

The type of trigger assigned to the SIP rule in `triggerValue`. Valid values are `RequestUriHostname` or `ToPhoneNumber`.

func (SdkvoiceSipRuleOutput) TriggerValue

func (o SdkvoiceSipRuleOutput) TriggerValue() pulumi.StringOutput

If `triggerType` is `RequestUriHostname`, the value can be the outbound host name of an Amazon Chime Voice Connector. If `triggerType` is `ToPhoneNumber`, the value can be a customer-owned phone number in the E164 format. The Sip Media Application specified in the Sip Rule is triggered if the request URI in an incoming SIP request matches the `RequestUriHostname`, or if the "To" header in the incoming SIP request matches the `ToPhoneNumber` value.

The following arguments are optional:

type SdkvoiceSipRuleState

type SdkvoiceSipRuleState struct {
	// Enables or disables a rule. You must disable rules before you can delete them.
	Disabled pulumi.BoolPtrInput
	// The name of the SIP rule.
	Name pulumi.StringPtrInput
	// List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used. See `targetApplications`.
	TargetApplications SdkvoiceSipRuleTargetApplicationArrayInput
	// The type of trigger assigned to the SIP rule in `triggerValue`. Valid values are `RequestUriHostname` or `ToPhoneNumber`.
	TriggerType pulumi.StringPtrInput
	// If `triggerType` is `RequestUriHostname`, the value can be the outbound host name of an Amazon Chime Voice Connector. If `triggerType` is `ToPhoneNumber`, the value can be a customer-owned phone number in the E164 format. The Sip Media Application specified in the Sip Rule is triggered if the request URI in an incoming SIP request matches the `RequestUriHostname`, or if the "To" header in the incoming SIP request matches the `ToPhoneNumber` value.
	//
	// The following arguments are optional:
	TriggerValue pulumi.StringPtrInput
}

func (SdkvoiceSipRuleState) ElementType

func (SdkvoiceSipRuleState) ElementType() reflect.Type

type SdkvoiceSipRuleTargetApplication

type SdkvoiceSipRuleTargetApplication struct {
	// The AWS Region of the target application.
	AwsRegion string `pulumi:"awsRegion"`
	// Priority of the SIP media application in the target list.
	Priority int `pulumi:"priority"`
	// The SIP media application ID.
	SipMediaApplicationId string `pulumi:"sipMediaApplicationId"`
}

type SdkvoiceSipRuleTargetApplicationArgs

type SdkvoiceSipRuleTargetApplicationArgs struct {
	// The AWS Region of the target application.
	AwsRegion pulumi.StringInput `pulumi:"awsRegion"`
	// Priority of the SIP media application in the target list.
	Priority pulumi.IntInput `pulumi:"priority"`
	// The SIP media application ID.
	SipMediaApplicationId pulumi.StringInput `pulumi:"sipMediaApplicationId"`
}

func (SdkvoiceSipRuleTargetApplicationArgs) ElementType

func (SdkvoiceSipRuleTargetApplicationArgs) ToSdkvoiceSipRuleTargetApplicationOutput

func (i SdkvoiceSipRuleTargetApplicationArgs) ToSdkvoiceSipRuleTargetApplicationOutput() SdkvoiceSipRuleTargetApplicationOutput

func (SdkvoiceSipRuleTargetApplicationArgs) ToSdkvoiceSipRuleTargetApplicationOutputWithContext

func (i SdkvoiceSipRuleTargetApplicationArgs) ToSdkvoiceSipRuleTargetApplicationOutputWithContext(ctx context.Context) SdkvoiceSipRuleTargetApplicationOutput

type SdkvoiceSipRuleTargetApplicationArray

type SdkvoiceSipRuleTargetApplicationArray []SdkvoiceSipRuleTargetApplicationInput

func (SdkvoiceSipRuleTargetApplicationArray) ElementType

func (SdkvoiceSipRuleTargetApplicationArray) ToSdkvoiceSipRuleTargetApplicationArrayOutput

func (i SdkvoiceSipRuleTargetApplicationArray) ToSdkvoiceSipRuleTargetApplicationArrayOutput() SdkvoiceSipRuleTargetApplicationArrayOutput

func (SdkvoiceSipRuleTargetApplicationArray) ToSdkvoiceSipRuleTargetApplicationArrayOutputWithContext

func (i SdkvoiceSipRuleTargetApplicationArray) ToSdkvoiceSipRuleTargetApplicationArrayOutputWithContext(ctx context.Context) SdkvoiceSipRuleTargetApplicationArrayOutput

type SdkvoiceSipRuleTargetApplicationArrayInput

type SdkvoiceSipRuleTargetApplicationArrayInput interface {
	pulumi.Input

	ToSdkvoiceSipRuleTargetApplicationArrayOutput() SdkvoiceSipRuleTargetApplicationArrayOutput
	ToSdkvoiceSipRuleTargetApplicationArrayOutputWithContext(context.Context) SdkvoiceSipRuleTargetApplicationArrayOutput
}

SdkvoiceSipRuleTargetApplicationArrayInput is an input type that accepts SdkvoiceSipRuleTargetApplicationArray and SdkvoiceSipRuleTargetApplicationArrayOutput values. You can construct a concrete instance of `SdkvoiceSipRuleTargetApplicationArrayInput` via:

SdkvoiceSipRuleTargetApplicationArray{ SdkvoiceSipRuleTargetApplicationArgs{...} }

type SdkvoiceSipRuleTargetApplicationArrayOutput

type SdkvoiceSipRuleTargetApplicationArrayOutput struct{ *pulumi.OutputState }

func (SdkvoiceSipRuleTargetApplicationArrayOutput) ElementType

func (SdkvoiceSipRuleTargetApplicationArrayOutput) Index

func (SdkvoiceSipRuleTargetApplicationArrayOutput) ToSdkvoiceSipRuleTargetApplicationArrayOutput

func (o SdkvoiceSipRuleTargetApplicationArrayOutput) ToSdkvoiceSipRuleTargetApplicationArrayOutput() SdkvoiceSipRuleTargetApplicationArrayOutput

func (SdkvoiceSipRuleTargetApplicationArrayOutput) ToSdkvoiceSipRuleTargetApplicationArrayOutputWithContext

func (o SdkvoiceSipRuleTargetApplicationArrayOutput) ToSdkvoiceSipRuleTargetApplicationArrayOutputWithContext(ctx context.Context) SdkvoiceSipRuleTargetApplicationArrayOutput

type SdkvoiceSipRuleTargetApplicationInput

type SdkvoiceSipRuleTargetApplicationInput interface {
	pulumi.Input

	ToSdkvoiceSipRuleTargetApplicationOutput() SdkvoiceSipRuleTargetApplicationOutput
	ToSdkvoiceSipRuleTargetApplicationOutputWithContext(context.Context) SdkvoiceSipRuleTargetApplicationOutput
}

SdkvoiceSipRuleTargetApplicationInput is an input type that accepts SdkvoiceSipRuleTargetApplicationArgs and SdkvoiceSipRuleTargetApplicationOutput values. You can construct a concrete instance of `SdkvoiceSipRuleTargetApplicationInput` via:

SdkvoiceSipRuleTargetApplicationArgs{...}

type SdkvoiceSipRuleTargetApplicationOutput

type SdkvoiceSipRuleTargetApplicationOutput struct{ *pulumi.OutputState }

func (SdkvoiceSipRuleTargetApplicationOutput) AwsRegion

The AWS Region of the target application.

func (SdkvoiceSipRuleTargetApplicationOutput) ElementType

func (SdkvoiceSipRuleTargetApplicationOutput) Priority

Priority of the SIP media application in the target list.

func (SdkvoiceSipRuleTargetApplicationOutput) SipMediaApplicationId

The SIP media application ID.

func (SdkvoiceSipRuleTargetApplicationOutput) ToSdkvoiceSipRuleTargetApplicationOutput

func (o SdkvoiceSipRuleTargetApplicationOutput) ToSdkvoiceSipRuleTargetApplicationOutput() SdkvoiceSipRuleTargetApplicationOutput

func (SdkvoiceSipRuleTargetApplicationOutput) ToSdkvoiceSipRuleTargetApplicationOutputWithContext

func (o SdkvoiceSipRuleTargetApplicationOutput) ToSdkvoiceSipRuleTargetApplicationOutputWithContext(ctx context.Context) SdkvoiceSipRuleTargetApplicationOutput

type SdkvoiceVoiceProfileDomain

type SdkvoiceVoiceProfileDomain struct {
	pulumi.CustomResourceState

	// ARN of the Voice Profile Domain.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Description of Voice Profile Domain.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Name of Voice Profile Domain.
	Name pulumi.StringOutput `pulumi:"name"`
	// Configuration for server side encryption.
	ServerSideEncryptionConfiguration SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput `pulumi:"serverSideEncryptionConfiguration"`
	Tags                              pulumi.StringMapOutput                                            `pulumi:"tags"`
	TagsAll                           pulumi.StringMapOutput                                            `pulumi:"tagsAll"`
}

Resource for managing an AWS Chime SDK Voice Profile Domain.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/chime"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleKey, err := kms.NewKey(ctx, "exampleKey", &kms.KeyArgs{
			Description:          pulumi.String("KMS Key for Voice Profile Domain"),
			DeletionWindowInDays: pulumi.Int(7),
		})
		if err != nil {
			return err
		}
		_, err = chime.NewSdkvoiceVoiceProfileDomain(ctx, "exampleSdkvoiceVoiceProfileDomain", &chime.SdkvoiceVoiceProfileDomainArgs{
			ServerSideEncryptionConfiguration: &chime.SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs{
				KmsKeyArn: exampleKey.Arn,
			},
			Description: pulumi.String("My Voice Profile Domain"),
			Tags: pulumi.StringMap{
				"key1": pulumi.String("value1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_chimesdkvoice_voice_profile_domain.example

id = "abcdef123456" } Using `pulumi import`, import AWS Chime SDK Voice Profile Domain using the `id`. For exampleconsole % pulumi import aws_chimesdkvoice_voice_profile_domain.example abcdef123456

func GetSdkvoiceVoiceProfileDomain

func GetSdkvoiceVoiceProfileDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SdkvoiceVoiceProfileDomainState, opts ...pulumi.ResourceOption) (*SdkvoiceVoiceProfileDomain, error)

GetSdkvoiceVoiceProfileDomain gets an existing SdkvoiceVoiceProfileDomain 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 NewSdkvoiceVoiceProfileDomain

func NewSdkvoiceVoiceProfileDomain(ctx *pulumi.Context,
	name string, args *SdkvoiceVoiceProfileDomainArgs, opts ...pulumi.ResourceOption) (*SdkvoiceVoiceProfileDomain, error)

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

func (*SdkvoiceVoiceProfileDomain) ElementType

func (*SdkvoiceVoiceProfileDomain) ElementType() reflect.Type

func (*SdkvoiceVoiceProfileDomain) ToSdkvoiceVoiceProfileDomainOutput

func (i *SdkvoiceVoiceProfileDomain) ToSdkvoiceVoiceProfileDomainOutput() SdkvoiceVoiceProfileDomainOutput

func (*SdkvoiceVoiceProfileDomain) ToSdkvoiceVoiceProfileDomainOutputWithContext

func (i *SdkvoiceVoiceProfileDomain) ToSdkvoiceVoiceProfileDomainOutputWithContext(ctx context.Context) SdkvoiceVoiceProfileDomainOutput

type SdkvoiceVoiceProfileDomainArgs

type SdkvoiceVoiceProfileDomainArgs struct {
	// Description of Voice Profile Domain.
	Description pulumi.StringPtrInput
	// Name of Voice Profile Domain.
	Name pulumi.StringPtrInput
	// Configuration for server side encryption.
	ServerSideEncryptionConfiguration SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationInput
	Tags                              pulumi.StringMapInput
}

The set of arguments for constructing a SdkvoiceVoiceProfileDomain resource.

func (SdkvoiceVoiceProfileDomainArgs) ElementType

type SdkvoiceVoiceProfileDomainArray

type SdkvoiceVoiceProfileDomainArray []SdkvoiceVoiceProfileDomainInput

func (SdkvoiceVoiceProfileDomainArray) ElementType

func (SdkvoiceVoiceProfileDomainArray) ToSdkvoiceVoiceProfileDomainArrayOutput

func (i SdkvoiceVoiceProfileDomainArray) ToSdkvoiceVoiceProfileDomainArrayOutput() SdkvoiceVoiceProfileDomainArrayOutput

func (SdkvoiceVoiceProfileDomainArray) ToSdkvoiceVoiceProfileDomainArrayOutputWithContext

func (i SdkvoiceVoiceProfileDomainArray) ToSdkvoiceVoiceProfileDomainArrayOutputWithContext(ctx context.Context) SdkvoiceVoiceProfileDomainArrayOutput

type SdkvoiceVoiceProfileDomainArrayInput

type SdkvoiceVoiceProfileDomainArrayInput interface {
	pulumi.Input

	ToSdkvoiceVoiceProfileDomainArrayOutput() SdkvoiceVoiceProfileDomainArrayOutput
	ToSdkvoiceVoiceProfileDomainArrayOutputWithContext(context.Context) SdkvoiceVoiceProfileDomainArrayOutput
}

SdkvoiceVoiceProfileDomainArrayInput is an input type that accepts SdkvoiceVoiceProfileDomainArray and SdkvoiceVoiceProfileDomainArrayOutput values. You can construct a concrete instance of `SdkvoiceVoiceProfileDomainArrayInput` via:

SdkvoiceVoiceProfileDomainArray{ SdkvoiceVoiceProfileDomainArgs{...} }

type SdkvoiceVoiceProfileDomainArrayOutput

type SdkvoiceVoiceProfileDomainArrayOutput struct{ *pulumi.OutputState }

func (SdkvoiceVoiceProfileDomainArrayOutput) ElementType

func (SdkvoiceVoiceProfileDomainArrayOutput) Index

func (SdkvoiceVoiceProfileDomainArrayOutput) ToSdkvoiceVoiceProfileDomainArrayOutput

func (o SdkvoiceVoiceProfileDomainArrayOutput) ToSdkvoiceVoiceProfileDomainArrayOutput() SdkvoiceVoiceProfileDomainArrayOutput

func (SdkvoiceVoiceProfileDomainArrayOutput) ToSdkvoiceVoiceProfileDomainArrayOutputWithContext

func (o SdkvoiceVoiceProfileDomainArrayOutput) ToSdkvoiceVoiceProfileDomainArrayOutputWithContext(ctx context.Context) SdkvoiceVoiceProfileDomainArrayOutput

type SdkvoiceVoiceProfileDomainInput

type SdkvoiceVoiceProfileDomainInput interface {
	pulumi.Input

	ToSdkvoiceVoiceProfileDomainOutput() SdkvoiceVoiceProfileDomainOutput
	ToSdkvoiceVoiceProfileDomainOutputWithContext(ctx context.Context) SdkvoiceVoiceProfileDomainOutput
}

type SdkvoiceVoiceProfileDomainMap

type SdkvoiceVoiceProfileDomainMap map[string]SdkvoiceVoiceProfileDomainInput

func (SdkvoiceVoiceProfileDomainMap) ElementType

func (SdkvoiceVoiceProfileDomainMap) ToSdkvoiceVoiceProfileDomainMapOutput

func (i SdkvoiceVoiceProfileDomainMap) ToSdkvoiceVoiceProfileDomainMapOutput() SdkvoiceVoiceProfileDomainMapOutput

func (SdkvoiceVoiceProfileDomainMap) ToSdkvoiceVoiceProfileDomainMapOutputWithContext

func (i SdkvoiceVoiceProfileDomainMap) ToSdkvoiceVoiceProfileDomainMapOutputWithContext(ctx context.Context) SdkvoiceVoiceProfileDomainMapOutput

type SdkvoiceVoiceProfileDomainMapInput

type SdkvoiceVoiceProfileDomainMapInput interface {
	pulumi.Input

	ToSdkvoiceVoiceProfileDomainMapOutput() SdkvoiceVoiceProfileDomainMapOutput
	ToSdkvoiceVoiceProfileDomainMapOutputWithContext(context.Context) SdkvoiceVoiceProfileDomainMapOutput
}

SdkvoiceVoiceProfileDomainMapInput is an input type that accepts SdkvoiceVoiceProfileDomainMap and SdkvoiceVoiceProfileDomainMapOutput values. You can construct a concrete instance of `SdkvoiceVoiceProfileDomainMapInput` via:

SdkvoiceVoiceProfileDomainMap{ "key": SdkvoiceVoiceProfileDomainArgs{...} }

type SdkvoiceVoiceProfileDomainMapOutput

type SdkvoiceVoiceProfileDomainMapOutput struct{ *pulumi.OutputState }

func (SdkvoiceVoiceProfileDomainMapOutput) ElementType

func (SdkvoiceVoiceProfileDomainMapOutput) MapIndex

func (SdkvoiceVoiceProfileDomainMapOutput) ToSdkvoiceVoiceProfileDomainMapOutput

func (o SdkvoiceVoiceProfileDomainMapOutput) ToSdkvoiceVoiceProfileDomainMapOutput() SdkvoiceVoiceProfileDomainMapOutput

func (SdkvoiceVoiceProfileDomainMapOutput) ToSdkvoiceVoiceProfileDomainMapOutputWithContext

func (o SdkvoiceVoiceProfileDomainMapOutput) ToSdkvoiceVoiceProfileDomainMapOutputWithContext(ctx context.Context) SdkvoiceVoiceProfileDomainMapOutput

type SdkvoiceVoiceProfileDomainOutput

type SdkvoiceVoiceProfileDomainOutput struct{ *pulumi.OutputState }

func (SdkvoiceVoiceProfileDomainOutput) Arn

ARN of the Voice Profile Domain.

func (SdkvoiceVoiceProfileDomainOutput) Description

Description of Voice Profile Domain.

func (SdkvoiceVoiceProfileDomainOutput) ElementType

func (SdkvoiceVoiceProfileDomainOutput) Name

Name of Voice Profile Domain.

func (SdkvoiceVoiceProfileDomainOutput) ServerSideEncryptionConfiguration

Configuration for server side encryption.

func (SdkvoiceVoiceProfileDomainOutput) Tags

func (SdkvoiceVoiceProfileDomainOutput) TagsAll

func (SdkvoiceVoiceProfileDomainOutput) ToSdkvoiceVoiceProfileDomainOutput

func (o SdkvoiceVoiceProfileDomainOutput) ToSdkvoiceVoiceProfileDomainOutput() SdkvoiceVoiceProfileDomainOutput

func (SdkvoiceVoiceProfileDomainOutput) ToSdkvoiceVoiceProfileDomainOutputWithContext

func (o SdkvoiceVoiceProfileDomainOutput) ToSdkvoiceVoiceProfileDomainOutputWithContext(ctx context.Context) SdkvoiceVoiceProfileDomainOutput

type SdkvoiceVoiceProfileDomainServerSideEncryptionConfiguration

type SdkvoiceVoiceProfileDomainServerSideEncryptionConfiguration struct {
	// ARN for KMS Key.
	//
	// The following arguments are optional:
	KmsKeyArn string `pulumi:"kmsKeyArn"`
}

type SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs

type SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs struct {
	// ARN for KMS Key.
	//
	// The following arguments are optional:
	KmsKeyArn pulumi.StringInput `pulumi:"kmsKeyArn"`
}

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs) ElementType

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutputWithContext

func (i SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutputWithContext(ctx context.Context) SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutputWithContext

func (i SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutputWithContext(ctx context.Context) SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput

type SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationInput

type SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationInput interface {
	pulumi.Input

	ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput() SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput
	ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutputWithContext(context.Context) SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput
}

SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationInput is an input type that accepts SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs and SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput values. You can construct a concrete instance of `SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationInput` via:

SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs{...}

type SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput

type SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput struct{ *pulumi.OutputState }

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput) ElementType

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput) KmsKeyArn

ARN for KMS Key.

The following arguments are optional:

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutputWithContext

func (o SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutputWithContext(ctx context.Context) SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutputWithContext

func (o SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationOutput) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutputWithContext(ctx context.Context) SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput

type SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrInput

type SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrInput interface {
	pulumi.Input

	ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput() SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput
	ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutputWithContext(context.Context) SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput
}

SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrInput is an input type that accepts SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs, SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtr and SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput values. You can construct a concrete instance of `SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrInput` via:

        SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs{...}

or:

        nil

type SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput

type SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput) Elem

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput) ElementType

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput) KmsKeyArn

ARN for KMS Key.

The following arguments are optional:

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput

func (SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutputWithContext

func (o SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput) ToSdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutputWithContext(ctx context.Context) SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrOutput

type SdkvoiceVoiceProfileDomainState

type SdkvoiceVoiceProfileDomainState struct {
	// ARN of the Voice Profile Domain.
	Arn pulumi.StringPtrInput
	// Description of Voice Profile Domain.
	Description pulumi.StringPtrInput
	// Name of Voice Profile Domain.
	Name pulumi.StringPtrInput
	// Configuration for server side encryption.
	ServerSideEncryptionConfiguration SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationPtrInput
	Tags                              pulumi.StringMapInput
	TagsAll                           pulumi.StringMapInput
}

func (SdkvoiceVoiceProfileDomainState) ElementType

type VoiceConnector

type VoiceConnector struct {
	pulumi.CustomResourceState

	// ARN (Amazon Resource Name) of the Amazon Chime Voice Connector.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The AWS Region in which the Amazon Chime Voice Connector is created. Default value: `us-east-1`
	AwsRegion pulumi.StringPtrOutput `pulumi:"awsRegion"`
	// The name of the Amazon Chime Voice Connector.
	Name pulumi.StringOutput `pulumi:"name"`
	// The outbound host name for the Amazon Chime Voice Connector.
	OutboundHostName pulumi.StringOutput `pulumi:"outboundHostName"`
	// When enabled, requires encryption for the Amazon Chime Voice Connector.
	//
	// The following arguments are optional:
	RequireEncryption pulumi.BoolOutput `pulumi:"requireEncryption"`
	// Key-value mapping of resource tags. 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"`
}

Enables you to connect your phone system to the telephone network at a substantial cost savings by using SIP trunking.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := chime.NewVoiceConnector(ctx, "test", &chime.VoiceConnectorArgs{
			AwsRegion:         pulumi.String("us-east-1"),
			RequireEncryption: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_chime_voice_connector.test

id = "example" } Using `pulumi import`, import Configuration Recorder using the name. For exampleconsole % pulumi import aws_chime_voice_connector.test example

func GetVoiceConnector

func GetVoiceConnector(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VoiceConnectorState, opts ...pulumi.ResourceOption) (*VoiceConnector, error)

GetVoiceConnector gets an existing VoiceConnector 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 NewVoiceConnector

func NewVoiceConnector(ctx *pulumi.Context,
	name string, args *VoiceConnectorArgs, opts ...pulumi.ResourceOption) (*VoiceConnector, error)

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

func (*VoiceConnector) ElementType

func (*VoiceConnector) ElementType() reflect.Type

func (*VoiceConnector) ToVoiceConnectorOutput

func (i *VoiceConnector) ToVoiceConnectorOutput() VoiceConnectorOutput

func (*VoiceConnector) ToVoiceConnectorOutputWithContext

func (i *VoiceConnector) ToVoiceConnectorOutputWithContext(ctx context.Context) VoiceConnectorOutput

type VoiceConnectorArgs

type VoiceConnectorArgs struct {
	// The AWS Region in which the Amazon Chime Voice Connector is created. Default value: `us-east-1`
	AwsRegion pulumi.StringPtrInput
	// The name of the Amazon Chime Voice Connector.
	Name pulumi.StringPtrInput
	// When enabled, requires encryption for the Amazon Chime Voice Connector.
	//
	// The following arguments are optional:
	RequireEncryption pulumi.BoolInput
	// Key-value mapping of resource tags. 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 VoiceConnector resource.

func (VoiceConnectorArgs) ElementType

func (VoiceConnectorArgs) ElementType() reflect.Type

type VoiceConnectorArray

type VoiceConnectorArray []VoiceConnectorInput

func (VoiceConnectorArray) ElementType

func (VoiceConnectorArray) ElementType() reflect.Type

func (VoiceConnectorArray) ToVoiceConnectorArrayOutput

func (i VoiceConnectorArray) ToVoiceConnectorArrayOutput() VoiceConnectorArrayOutput

func (VoiceConnectorArray) ToVoiceConnectorArrayOutputWithContext

func (i VoiceConnectorArray) ToVoiceConnectorArrayOutputWithContext(ctx context.Context) VoiceConnectorArrayOutput

type VoiceConnectorArrayInput

type VoiceConnectorArrayInput interface {
	pulumi.Input

	ToVoiceConnectorArrayOutput() VoiceConnectorArrayOutput
	ToVoiceConnectorArrayOutputWithContext(context.Context) VoiceConnectorArrayOutput
}

VoiceConnectorArrayInput is an input type that accepts VoiceConnectorArray and VoiceConnectorArrayOutput values. You can construct a concrete instance of `VoiceConnectorArrayInput` via:

VoiceConnectorArray{ VoiceConnectorArgs{...} }

type VoiceConnectorArrayOutput

type VoiceConnectorArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorArrayOutput) ElementType

func (VoiceConnectorArrayOutput) ElementType() reflect.Type

func (VoiceConnectorArrayOutput) Index

func (VoiceConnectorArrayOutput) ToVoiceConnectorArrayOutput

func (o VoiceConnectorArrayOutput) ToVoiceConnectorArrayOutput() VoiceConnectorArrayOutput

func (VoiceConnectorArrayOutput) ToVoiceConnectorArrayOutputWithContext

func (o VoiceConnectorArrayOutput) ToVoiceConnectorArrayOutputWithContext(ctx context.Context) VoiceConnectorArrayOutput

type VoiceConnectorGroup

type VoiceConnectorGroup struct {
	pulumi.CustomResourceState

	// The Amazon Chime Voice Connectors to route inbound calls to.
	Connectors VoiceConnectorGroupConnectorArrayOutput `pulumi:"connectors"`
	// The name of the Amazon Chime Voice Connector group.
	Name pulumi.StringOutput `pulumi:"name"`
}

Creates an Amazon Chime Voice Connector group under the administrator's AWS account. You can associate Amazon Chime Voice Connectors with the Amazon Chime Voice Connector group by including VoiceConnectorItems in the request.

You can include Amazon Chime Voice Connectors from different AWS Regions in your group. This creates a fault tolerant mechanism for fallback in case of availability events.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		vc1, err := chime.NewVoiceConnector(ctx, "vc1", &chime.VoiceConnectorArgs{
			RequireEncryption: pulumi.Bool(true),
			AwsRegion:         pulumi.String("us-east-1"),
		})
		if err != nil {
			return err
		}
		vc2, err := chime.NewVoiceConnector(ctx, "vc2", &chime.VoiceConnectorArgs{
			RequireEncryption: pulumi.Bool(true),
			AwsRegion:         pulumi.String("us-west-2"),
		})
		if err != nil {
			return err
		}
		_, err = chime.NewVoiceConnectorGroup(ctx, "group", &chime.VoiceConnectorGroupArgs{
			Connectors: chime.VoiceConnectorGroupConnectorArray{
				&chime.VoiceConnectorGroupConnectorArgs{
					VoiceConnectorId: vc1.ID(),
					Priority:         pulumi.Int(1),
				},
				&chime.VoiceConnectorGroupConnectorArgs{
					VoiceConnectorId: vc2.ID(),
					Priority:         pulumi.Int(3),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_chime_voice_connector_group.default

id = "example" } Using `pulumi import`, import Configuration Recorder using the name. For exampleconsole % pulumi import aws_chime_voice_connector_group.default example

func GetVoiceConnectorGroup

func GetVoiceConnectorGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VoiceConnectorGroupState, opts ...pulumi.ResourceOption) (*VoiceConnectorGroup, error)

GetVoiceConnectorGroup gets an existing VoiceConnectorGroup 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 NewVoiceConnectorGroup

func NewVoiceConnectorGroup(ctx *pulumi.Context,
	name string, args *VoiceConnectorGroupArgs, opts ...pulumi.ResourceOption) (*VoiceConnectorGroup, error)

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

func (*VoiceConnectorGroup) ElementType

func (*VoiceConnectorGroup) ElementType() reflect.Type

func (*VoiceConnectorGroup) ToVoiceConnectorGroupOutput

func (i *VoiceConnectorGroup) ToVoiceConnectorGroupOutput() VoiceConnectorGroupOutput

func (*VoiceConnectorGroup) ToVoiceConnectorGroupOutputWithContext

func (i *VoiceConnectorGroup) ToVoiceConnectorGroupOutputWithContext(ctx context.Context) VoiceConnectorGroupOutput

type VoiceConnectorGroupArgs

type VoiceConnectorGroupArgs struct {
	// The Amazon Chime Voice Connectors to route inbound calls to.
	Connectors VoiceConnectorGroupConnectorArrayInput
	// The name of the Amazon Chime Voice Connector group.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a VoiceConnectorGroup resource.

func (VoiceConnectorGroupArgs) ElementType

func (VoiceConnectorGroupArgs) ElementType() reflect.Type

type VoiceConnectorGroupArray

type VoiceConnectorGroupArray []VoiceConnectorGroupInput

func (VoiceConnectorGroupArray) ElementType

func (VoiceConnectorGroupArray) ElementType() reflect.Type

func (VoiceConnectorGroupArray) ToVoiceConnectorGroupArrayOutput

func (i VoiceConnectorGroupArray) ToVoiceConnectorGroupArrayOutput() VoiceConnectorGroupArrayOutput

func (VoiceConnectorGroupArray) ToVoiceConnectorGroupArrayOutputWithContext

func (i VoiceConnectorGroupArray) ToVoiceConnectorGroupArrayOutputWithContext(ctx context.Context) VoiceConnectorGroupArrayOutput

type VoiceConnectorGroupArrayInput

type VoiceConnectorGroupArrayInput interface {
	pulumi.Input

	ToVoiceConnectorGroupArrayOutput() VoiceConnectorGroupArrayOutput
	ToVoiceConnectorGroupArrayOutputWithContext(context.Context) VoiceConnectorGroupArrayOutput
}

VoiceConnectorGroupArrayInput is an input type that accepts VoiceConnectorGroupArray and VoiceConnectorGroupArrayOutput values. You can construct a concrete instance of `VoiceConnectorGroupArrayInput` via:

VoiceConnectorGroupArray{ VoiceConnectorGroupArgs{...} }

type VoiceConnectorGroupArrayOutput

type VoiceConnectorGroupArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorGroupArrayOutput) ElementType

func (VoiceConnectorGroupArrayOutput) Index

func (VoiceConnectorGroupArrayOutput) ToVoiceConnectorGroupArrayOutput

func (o VoiceConnectorGroupArrayOutput) ToVoiceConnectorGroupArrayOutput() VoiceConnectorGroupArrayOutput

func (VoiceConnectorGroupArrayOutput) ToVoiceConnectorGroupArrayOutputWithContext

func (o VoiceConnectorGroupArrayOutput) ToVoiceConnectorGroupArrayOutputWithContext(ctx context.Context) VoiceConnectorGroupArrayOutput

type VoiceConnectorGroupConnector

type VoiceConnectorGroupConnector struct {
	// The priority associated with the Amazon Chime Voice Connector, with 1 being the highest priority. Higher priority Amazon Chime Voice Connectors are attempted first.
	Priority int `pulumi:"priority"`
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId string `pulumi:"voiceConnectorId"`
}

type VoiceConnectorGroupConnectorArgs

type VoiceConnectorGroupConnectorArgs struct {
	// The priority associated with the Amazon Chime Voice Connector, with 1 being the highest priority. Higher priority Amazon Chime Voice Connectors are attempted first.
	Priority pulumi.IntInput `pulumi:"priority"`
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringInput `pulumi:"voiceConnectorId"`
}

func (VoiceConnectorGroupConnectorArgs) ElementType

func (VoiceConnectorGroupConnectorArgs) ToVoiceConnectorGroupConnectorOutput

func (i VoiceConnectorGroupConnectorArgs) ToVoiceConnectorGroupConnectorOutput() VoiceConnectorGroupConnectorOutput

func (VoiceConnectorGroupConnectorArgs) ToVoiceConnectorGroupConnectorOutputWithContext

func (i VoiceConnectorGroupConnectorArgs) ToVoiceConnectorGroupConnectorOutputWithContext(ctx context.Context) VoiceConnectorGroupConnectorOutput

type VoiceConnectorGroupConnectorArray

type VoiceConnectorGroupConnectorArray []VoiceConnectorGroupConnectorInput

func (VoiceConnectorGroupConnectorArray) ElementType

func (VoiceConnectorGroupConnectorArray) ToVoiceConnectorGroupConnectorArrayOutput

func (i VoiceConnectorGroupConnectorArray) ToVoiceConnectorGroupConnectorArrayOutput() VoiceConnectorGroupConnectorArrayOutput

func (VoiceConnectorGroupConnectorArray) ToVoiceConnectorGroupConnectorArrayOutputWithContext

func (i VoiceConnectorGroupConnectorArray) ToVoiceConnectorGroupConnectorArrayOutputWithContext(ctx context.Context) VoiceConnectorGroupConnectorArrayOutput

type VoiceConnectorGroupConnectorArrayInput

type VoiceConnectorGroupConnectorArrayInput interface {
	pulumi.Input

	ToVoiceConnectorGroupConnectorArrayOutput() VoiceConnectorGroupConnectorArrayOutput
	ToVoiceConnectorGroupConnectorArrayOutputWithContext(context.Context) VoiceConnectorGroupConnectorArrayOutput
}

VoiceConnectorGroupConnectorArrayInput is an input type that accepts VoiceConnectorGroupConnectorArray and VoiceConnectorGroupConnectorArrayOutput values. You can construct a concrete instance of `VoiceConnectorGroupConnectorArrayInput` via:

VoiceConnectorGroupConnectorArray{ VoiceConnectorGroupConnectorArgs{...} }

type VoiceConnectorGroupConnectorArrayOutput

type VoiceConnectorGroupConnectorArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorGroupConnectorArrayOutput) ElementType

func (VoiceConnectorGroupConnectorArrayOutput) Index

func (VoiceConnectorGroupConnectorArrayOutput) ToVoiceConnectorGroupConnectorArrayOutput

func (o VoiceConnectorGroupConnectorArrayOutput) ToVoiceConnectorGroupConnectorArrayOutput() VoiceConnectorGroupConnectorArrayOutput

func (VoiceConnectorGroupConnectorArrayOutput) ToVoiceConnectorGroupConnectorArrayOutputWithContext

func (o VoiceConnectorGroupConnectorArrayOutput) ToVoiceConnectorGroupConnectorArrayOutputWithContext(ctx context.Context) VoiceConnectorGroupConnectorArrayOutput

type VoiceConnectorGroupConnectorInput

type VoiceConnectorGroupConnectorInput interface {
	pulumi.Input

	ToVoiceConnectorGroupConnectorOutput() VoiceConnectorGroupConnectorOutput
	ToVoiceConnectorGroupConnectorOutputWithContext(context.Context) VoiceConnectorGroupConnectorOutput
}

VoiceConnectorGroupConnectorInput is an input type that accepts VoiceConnectorGroupConnectorArgs and VoiceConnectorGroupConnectorOutput values. You can construct a concrete instance of `VoiceConnectorGroupConnectorInput` via:

VoiceConnectorGroupConnectorArgs{...}

type VoiceConnectorGroupConnectorOutput

type VoiceConnectorGroupConnectorOutput struct{ *pulumi.OutputState }

func (VoiceConnectorGroupConnectorOutput) ElementType

func (VoiceConnectorGroupConnectorOutput) Priority

The priority associated with the Amazon Chime Voice Connector, with 1 being the highest priority. Higher priority Amazon Chime Voice Connectors are attempted first.

func (VoiceConnectorGroupConnectorOutput) ToVoiceConnectorGroupConnectorOutput

func (o VoiceConnectorGroupConnectorOutput) ToVoiceConnectorGroupConnectorOutput() VoiceConnectorGroupConnectorOutput

func (VoiceConnectorGroupConnectorOutput) ToVoiceConnectorGroupConnectorOutputWithContext

func (o VoiceConnectorGroupConnectorOutput) ToVoiceConnectorGroupConnectorOutputWithContext(ctx context.Context) VoiceConnectorGroupConnectorOutput

func (VoiceConnectorGroupConnectorOutput) VoiceConnectorId

The Amazon Chime Voice Connector ID.

type VoiceConnectorGroupInput

type VoiceConnectorGroupInput interface {
	pulumi.Input

	ToVoiceConnectorGroupOutput() VoiceConnectorGroupOutput
	ToVoiceConnectorGroupOutputWithContext(ctx context.Context) VoiceConnectorGroupOutput
}

type VoiceConnectorGroupMap

type VoiceConnectorGroupMap map[string]VoiceConnectorGroupInput

func (VoiceConnectorGroupMap) ElementType

func (VoiceConnectorGroupMap) ElementType() reflect.Type

func (VoiceConnectorGroupMap) ToVoiceConnectorGroupMapOutput

func (i VoiceConnectorGroupMap) ToVoiceConnectorGroupMapOutput() VoiceConnectorGroupMapOutput

func (VoiceConnectorGroupMap) ToVoiceConnectorGroupMapOutputWithContext

func (i VoiceConnectorGroupMap) ToVoiceConnectorGroupMapOutputWithContext(ctx context.Context) VoiceConnectorGroupMapOutput

type VoiceConnectorGroupMapInput

type VoiceConnectorGroupMapInput interface {
	pulumi.Input

	ToVoiceConnectorGroupMapOutput() VoiceConnectorGroupMapOutput
	ToVoiceConnectorGroupMapOutputWithContext(context.Context) VoiceConnectorGroupMapOutput
}

VoiceConnectorGroupMapInput is an input type that accepts VoiceConnectorGroupMap and VoiceConnectorGroupMapOutput values. You can construct a concrete instance of `VoiceConnectorGroupMapInput` via:

VoiceConnectorGroupMap{ "key": VoiceConnectorGroupArgs{...} }

type VoiceConnectorGroupMapOutput

type VoiceConnectorGroupMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorGroupMapOutput) ElementType

func (VoiceConnectorGroupMapOutput) MapIndex

func (VoiceConnectorGroupMapOutput) ToVoiceConnectorGroupMapOutput

func (o VoiceConnectorGroupMapOutput) ToVoiceConnectorGroupMapOutput() VoiceConnectorGroupMapOutput

func (VoiceConnectorGroupMapOutput) ToVoiceConnectorGroupMapOutputWithContext

func (o VoiceConnectorGroupMapOutput) ToVoiceConnectorGroupMapOutputWithContext(ctx context.Context) VoiceConnectorGroupMapOutput

type VoiceConnectorGroupOutput

type VoiceConnectorGroupOutput struct{ *pulumi.OutputState }

func (VoiceConnectorGroupOutput) Connectors

The Amazon Chime Voice Connectors to route inbound calls to.

func (VoiceConnectorGroupOutput) ElementType

func (VoiceConnectorGroupOutput) ElementType() reflect.Type

func (VoiceConnectorGroupOutput) Name

The name of the Amazon Chime Voice Connector group.

func (VoiceConnectorGroupOutput) ToVoiceConnectorGroupOutput

func (o VoiceConnectorGroupOutput) ToVoiceConnectorGroupOutput() VoiceConnectorGroupOutput

func (VoiceConnectorGroupOutput) ToVoiceConnectorGroupOutputWithContext

func (o VoiceConnectorGroupOutput) ToVoiceConnectorGroupOutputWithContext(ctx context.Context) VoiceConnectorGroupOutput

type VoiceConnectorGroupState

type VoiceConnectorGroupState struct {
	// The Amazon Chime Voice Connectors to route inbound calls to.
	Connectors VoiceConnectorGroupConnectorArrayInput
	// The name of the Amazon Chime Voice Connector group.
	Name pulumi.StringPtrInput
}

func (VoiceConnectorGroupState) ElementType

func (VoiceConnectorGroupState) ElementType() reflect.Type

type VoiceConnectorInput

type VoiceConnectorInput interface {
	pulumi.Input

	ToVoiceConnectorOutput() VoiceConnectorOutput
	ToVoiceConnectorOutputWithContext(ctx context.Context) VoiceConnectorOutput
}

type VoiceConnectorLogging

type VoiceConnectorLogging struct {
	pulumi.CustomResourceState

	// When true, enables logging of detailed media metrics for Voice Connectors to Amazon CloudWatch logs.
	EnableMediaMetricLogs pulumi.BoolPtrOutput `pulumi:"enableMediaMetricLogs"`
	// When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
	EnableSipLogs pulumi.BoolPtrOutput `pulumi:"enableSipLogs"`
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringOutput `pulumi:"voiceConnectorId"`
}

Adds a logging configuration for the specified Amazon Chime Voice Connector. The logging configuration specifies whether SIP message logs are enabled for sending to Amazon CloudWatch Logs.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultVoiceConnector, err := chime.NewVoiceConnector(ctx, "defaultVoiceConnector", &chime.VoiceConnectorArgs{
			RequireEncryption: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = chime.NewVoiceConnectorLogging(ctx, "defaultVoiceConnectorLogging", &chime.VoiceConnectorLoggingArgs{
			EnableSipLogs:         pulumi.Bool(true),
			EnableMediaMetricLogs: pulumi.Bool(true),
			VoiceConnectorId:      defaultVoiceConnector.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_chime_voice_connector_logging.default

id = "abcdef1ghij2klmno3pqr4" } Using `pulumi import`, import Chime Voice Connector Logging using the `voice_connector_id`. For exampleconsole % pulumi import aws_chime_voice_connector_logging.default abcdef1ghij2klmno3pqr4

func GetVoiceConnectorLogging

func GetVoiceConnectorLogging(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VoiceConnectorLoggingState, opts ...pulumi.ResourceOption) (*VoiceConnectorLogging, error)

GetVoiceConnectorLogging gets an existing VoiceConnectorLogging 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 NewVoiceConnectorLogging

func NewVoiceConnectorLogging(ctx *pulumi.Context,
	name string, args *VoiceConnectorLoggingArgs, opts ...pulumi.ResourceOption) (*VoiceConnectorLogging, error)

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

func (*VoiceConnectorLogging) ElementType

func (*VoiceConnectorLogging) ElementType() reflect.Type

func (*VoiceConnectorLogging) ToVoiceConnectorLoggingOutput

func (i *VoiceConnectorLogging) ToVoiceConnectorLoggingOutput() VoiceConnectorLoggingOutput

func (*VoiceConnectorLogging) ToVoiceConnectorLoggingOutputWithContext

func (i *VoiceConnectorLogging) ToVoiceConnectorLoggingOutputWithContext(ctx context.Context) VoiceConnectorLoggingOutput

type VoiceConnectorLoggingArgs

type VoiceConnectorLoggingArgs struct {
	// When true, enables logging of detailed media metrics for Voice Connectors to Amazon CloudWatch logs.
	EnableMediaMetricLogs pulumi.BoolPtrInput
	// When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
	EnableSipLogs pulumi.BoolPtrInput
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringInput
}

The set of arguments for constructing a VoiceConnectorLogging resource.

func (VoiceConnectorLoggingArgs) ElementType

func (VoiceConnectorLoggingArgs) ElementType() reflect.Type

type VoiceConnectorLoggingArray

type VoiceConnectorLoggingArray []VoiceConnectorLoggingInput

func (VoiceConnectorLoggingArray) ElementType

func (VoiceConnectorLoggingArray) ElementType() reflect.Type

func (VoiceConnectorLoggingArray) ToVoiceConnectorLoggingArrayOutput

func (i VoiceConnectorLoggingArray) ToVoiceConnectorLoggingArrayOutput() VoiceConnectorLoggingArrayOutput

func (VoiceConnectorLoggingArray) ToVoiceConnectorLoggingArrayOutputWithContext

func (i VoiceConnectorLoggingArray) ToVoiceConnectorLoggingArrayOutputWithContext(ctx context.Context) VoiceConnectorLoggingArrayOutput

type VoiceConnectorLoggingArrayInput

type VoiceConnectorLoggingArrayInput interface {
	pulumi.Input

	ToVoiceConnectorLoggingArrayOutput() VoiceConnectorLoggingArrayOutput
	ToVoiceConnectorLoggingArrayOutputWithContext(context.Context) VoiceConnectorLoggingArrayOutput
}

VoiceConnectorLoggingArrayInput is an input type that accepts VoiceConnectorLoggingArray and VoiceConnectorLoggingArrayOutput values. You can construct a concrete instance of `VoiceConnectorLoggingArrayInput` via:

VoiceConnectorLoggingArray{ VoiceConnectorLoggingArgs{...} }

type VoiceConnectorLoggingArrayOutput

type VoiceConnectorLoggingArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorLoggingArrayOutput) ElementType

func (VoiceConnectorLoggingArrayOutput) Index

func (VoiceConnectorLoggingArrayOutput) ToVoiceConnectorLoggingArrayOutput

func (o VoiceConnectorLoggingArrayOutput) ToVoiceConnectorLoggingArrayOutput() VoiceConnectorLoggingArrayOutput

func (VoiceConnectorLoggingArrayOutput) ToVoiceConnectorLoggingArrayOutputWithContext

func (o VoiceConnectorLoggingArrayOutput) ToVoiceConnectorLoggingArrayOutputWithContext(ctx context.Context) VoiceConnectorLoggingArrayOutput

type VoiceConnectorLoggingInput

type VoiceConnectorLoggingInput interface {
	pulumi.Input

	ToVoiceConnectorLoggingOutput() VoiceConnectorLoggingOutput
	ToVoiceConnectorLoggingOutputWithContext(ctx context.Context) VoiceConnectorLoggingOutput
}

type VoiceConnectorLoggingMap

type VoiceConnectorLoggingMap map[string]VoiceConnectorLoggingInput

func (VoiceConnectorLoggingMap) ElementType

func (VoiceConnectorLoggingMap) ElementType() reflect.Type

func (VoiceConnectorLoggingMap) ToVoiceConnectorLoggingMapOutput

func (i VoiceConnectorLoggingMap) ToVoiceConnectorLoggingMapOutput() VoiceConnectorLoggingMapOutput

func (VoiceConnectorLoggingMap) ToVoiceConnectorLoggingMapOutputWithContext

func (i VoiceConnectorLoggingMap) ToVoiceConnectorLoggingMapOutputWithContext(ctx context.Context) VoiceConnectorLoggingMapOutput

type VoiceConnectorLoggingMapInput

type VoiceConnectorLoggingMapInput interface {
	pulumi.Input

	ToVoiceConnectorLoggingMapOutput() VoiceConnectorLoggingMapOutput
	ToVoiceConnectorLoggingMapOutputWithContext(context.Context) VoiceConnectorLoggingMapOutput
}

VoiceConnectorLoggingMapInput is an input type that accepts VoiceConnectorLoggingMap and VoiceConnectorLoggingMapOutput values. You can construct a concrete instance of `VoiceConnectorLoggingMapInput` via:

VoiceConnectorLoggingMap{ "key": VoiceConnectorLoggingArgs{...} }

type VoiceConnectorLoggingMapOutput

type VoiceConnectorLoggingMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorLoggingMapOutput) ElementType

func (VoiceConnectorLoggingMapOutput) MapIndex

func (VoiceConnectorLoggingMapOutput) ToVoiceConnectorLoggingMapOutput

func (o VoiceConnectorLoggingMapOutput) ToVoiceConnectorLoggingMapOutput() VoiceConnectorLoggingMapOutput

func (VoiceConnectorLoggingMapOutput) ToVoiceConnectorLoggingMapOutputWithContext

func (o VoiceConnectorLoggingMapOutput) ToVoiceConnectorLoggingMapOutputWithContext(ctx context.Context) VoiceConnectorLoggingMapOutput

type VoiceConnectorLoggingOutput

type VoiceConnectorLoggingOutput struct{ *pulumi.OutputState }

func (VoiceConnectorLoggingOutput) ElementType

func (VoiceConnectorLoggingOutput) EnableMediaMetricLogs

func (o VoiceConnectorLoggingOutput) EnableMediaMetricLogs() pulumi.BoolPtrOutput

When true, enables logging of detailed media metrics for Voice Connectors to Amazon CloudWatch logs.

func (VoiceConnectorLoggingOutput) EnableSipLogs

When true, enables SIP message logs for sending to Amazon CloudWatch Logs.

func (VoiceConnectorLoggingOutput) ToVoiceConnectorLoggingOutput

func (o VoiceConnectorLoggingOutput) ToVoiceConnectorLoggingOutput() VoiceConnectorLoggingOutput

func (VoiceConnectorLoggingOutput) ToVoiceConnectorLoggingOutputWithContext

func (o VoiceConnectorLoggingOutput) ToVoiceConnectorLoggingOutputWithContext(ctx context.Context) VoiceConnectorLoggingOutput

func (VoiceConnectorLoggingOutput) VoiceConnectorId

func (o VoiceConnectorLoggingOutput) VoiceConnectorId() pulumi.StringOutput

The Amazon Chime Voice Connector ID.

type VoiceConnectorLoggingState

type VoiceConnectorLoggingState struct {
	// When true, enables logging of detailed media metrics for Voice Connectors to Amazon CloudWatch logs.
	EnableMediaMetricLogs pulumi.BoolPtrInput
	// When true, enables SIP message logs for sending to Amazon CloudWatch Logs.
	EnableSipLogs pulumi.BoolPtrInput
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringPtrInput
}

func (VoiceConnectorLoggingState) ElementType

func (VoiceConnectorLoggingState) ElementType() reflect.Type

type VoiceConnectorMap

type VoiceConnectorMap map[string]VoiceConnectorInput

func (VoiceConnectorMap) ElementType

func (VoiceConnectorMap) ElementType() reflect.Type

func (VoiceConnectorMap) ToVoiceConnectorMapOutput

func (i VoiceConnectorMap) ToVoiceConnectorMapOutput() VoiceConnectorMapOutput

func (VoiceConnectorMap) ToVoiceConnectorMapOutputWithContext

func (i VoiceConnectorMap) ToVoiceConnectorMapOutputWithContext(ctx context.Context) VoiceConnectorMapOutput

type VoiceConnectorMapInput

type VoiceConnectorMapInput interface {
	pulumi.Input

	ToVoiceConnectorMapOutput() VoiceConnectorMapOutput
	ToVoiceConnectorMapOutputWithContext(context.Context) VoiceConnectorMapOutput
}

VoiceConnectorMapInput is an input type that accepts VoiceConnectorMap and VoiceConnectorMapOutput values. You can construct a concrete instance of `VoiceConnectorMapInput` via:

VoiceConnectorMap{ "key": VoiceConnectorArgs{...} }

type VoiceConnectorMapOutput

type VoiceConnectorMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorMapOutput) ElementType

func (VoiceConnectorMapOutput) ElementType() reflect.Type

func (VoiceConnectorMapOutput) MapIndex

func (VoiceConnectorMapOutput) ToVoiceConnectorMapOutput

func (o VoiceConnectorMapOutput) ToVoiceConnectorMapOutput() VoiceConnectorMapOutput

func (VoiceConnectorMapOutput) ToVoiceConnectorMapOutputWithContext

func (o VoiceConnectorMapOutput) ToVoiceConnectorMapOutputWithContext(ctx context.Context) VoiceConnectorMapOutput

type VoiceConnectorOrganization

type VoiceConnectorOrganization struct {
	pulumi.CustomResourceState

	// When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector.
	Disabled pulumi.BoolPtrOutput `pulumi:"disabled"`
	// Set of call distribution properties defined for your SIP hosts. See route below for more details. Minimum of 1. Maximum of 20.
	Routes VoiceConnectorOrganizationRouteArrayOutput `pulumi:"routes"`
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringOutput `pulumi:"voiceConnectorId"`
}

Enable origination settings to control inbound calling to your SIP infrastructure.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultVoiceConnector, err := chime.NewVoiceConnector(ctx, "defaultVoiceConnector", &chime.VoiceConnectorArgs{
			RequireEncryption: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = chime.NewVoiceConnectorOrganization(ctx, "defaultVoiceConnectorOrganization", &chime.VoiceConnectorOrganizationArgs{
			Disabled:         pulumi.Bool(false),
			VoiceConnectorId: defaultVoiceConnector.ID(),
			Routes: chime.VoiceConnectorOrganizationRouteArray{
				&chime.VoiceConnectorOrganizationRouteArgs{
					Host:     pulumi.String("127.0.0.1"),
					Port:     pulumi.Int(8081),
					Protocol: pulumi.String("TCP"),
					Priority: pulumi.Int(1),
					Weight:   pulumi.Int(1),
				},
				&chime.VoiceConnectorOrganizationRouteArgs{
					Host:     pulumi.String("127.0.0.2"),
					Port:     pulumi.Int(8082),
					Protocol: pulumi.String("TCP"),
					Priority: pulumi.Int(2),
					Weight:   pulumi.Int(10),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_chime_voice_connector_origination.default

id = "abcdef1ghij2klmno3pqr4" } Using `pulumi import`, import Chime Voice Connector Origination using the `voice_connector_id`. For exampleconsole % pulumi import aws_chime_voice_connector_origination.default abcdef1ghij2klmno3pqr4

func GetVoiceConnectorOrganization

func GetVoiceConnectorOrganization(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VoiceConnectorOrganizationState, opts ...pulumi.ResourceOption) (*VoiceConnectorOrganization, error)

GetVoiceConnectorOrganization gets an existing VoiceConnectorOrganization 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 NewVoiceConnectorOrganization

func NewVoiceConnectorOrganization(ctx *pulumi.Context,
	name string, args *VoiceConnectorOrganizationArgs, opts ...pulumi.ResourceOption) (*VoiceConnectorOrganization, error)

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

func (*VoiceConnectorOrganization) ElementType

func (*VoiceConnectorOrganization) ElementType() reflect.Type

func (*VoiceConnectorOrganization) ToVoiceConnectorOrganizationOutput

func (i *VoiceConnectorOrganization) ToVoiceConnectorOrganizationOutput() VoiceConnectorOrganizationOutput

func (*VoiceConnectorOrganization) ToVoiceConnectorOrganizationOutputWithContext

func (i *VoiceConnectorOrganization) ToVoiceConnectorOrganizationOutputWithContext(ctx context.Context) VoiceConnectorOrganizationOutput

type VoiceConnectorOrganizationArgs

type VoiceConnectorOrganizationArgs struct {
	// When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector.
	Disabled pulumi.BoolPtrInput
	// Set of call distribution properties defined for your SIP hosts. See route below for more details. Minimum of 1. Maximum of 20.
	Routes VoiceConnectorOrganizationRouteArrayInput
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringInput
}

The set of arguments for constructing a VoiceConnectorOrganization resource.

func (VoiceConnectorOrganizationArgs) ElementType

type VoiceConnectorOrganizationArray

type VoiceConnectorOrganizationArray []VoiceConnectorOrganizationInput

func (VoiceConnectorOrganizationArray) ElementType

func (VoiceConnectorOrganizationArray) ToVoiceConnectorOrganizationArrayOutput

func (i VoiceConnectorOrganizationArray) ToVoiceConnectorOrganizationArrayOutput() VoiceConnectorOrganizationArrayOutput

func (VoiceConnectorOrganizationArray) ToVoiceConnectorOrganizationArrayOutputWithContext

func (i VoiceConnectorOrganizationArray) ToVoiceConnectorOrganizationArrayOutputWithContext(ctx context.Context) VoiceConnectorOrganizationArrayOutput

type VoiceConnectorOrganizationArrayInput

type VoiceConnectorOrganizationArrayInput interface {
	pulumi.Input

	ToVoiceConnectorOrganizationArrayOutput() VoiceConnectorOrganizationArrayOutput
	ToVoiceConnectorOrganizationArrayOutputWithContext(context.Context) VoiceConnectorOrganizationArrayOutput
}

VoiceConnectorOrganizationArrayInput is an input type that accepts VoiceConnectorOrganizationArray and VoiceConnectorOrganizationArrayOutput values. You can construct a concrete instance of `VoiceConnectorOrganizationArrayInput` via:

VoiceConnectorOrganizationArray{ VoiceConnectorOrganizationArgs{...} }

type VoiceConnectorOrganizationArrayOutput

type VoiceConnectorOrganizationArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorOrganizationArrayOutput) ElementType

func (VoiceConnectorOrganizationArrayOutput) Index

func (VoiceConnectorOrganizationArrayOutput) ToVoiceConnectorOrganizationArrayOutput

func (o VoiceConnectorOrganizationArrayOutput) ToVoiceConnectorOrganizationArrayOutput() VoiceConnectorOrganizationArrayOutput

func (VoiceConnectorOrganizationArrayOutput) ToVoiceConnectorOrganizationArrayOutputWithContext

func (o VoiceConnectorOrganizationArrayOutput) ToVoiceConnectorOrganizationArrayOutputWithContext(ctx context.Context) VoiceConnectorOrganizationArrayOutput

type VoiceConnectorOrganizationInput

type VoiceConnectorOrganizationInput interface {
	pulumi.Input

	ToVoiceConnectorOrganizationOutput() VoiceConnectorOrganizationOutput
	ToVoiceConnectorOrganizationOutputWithContext(ctx context.Context) VoiceConnectorOrganizationOutput
}

type VoiceConnectorOrganizationMap

type VoiceConnectorOrganizationMap map[string]VoiceConnectorOrganizationInput

func (VoiceConnectorOrganizationMap) ElementType

func (VoiceConnectorOrganizationMap) ToVoiceConnectorOrganizationMapOutput

func (i VoiceConnectorOrganizationMap) ToVoiceConnectorOrganizationMapOutput() VoiceConnectorOrganizationMapOutput

func (VoiceConnectorOrganizationMap) ToVoiceConnectorOrganizationMapOutputWithContext

func (i VoiceConnectorOrganizationMap) ToVoiceConnectorOrganizationMapOutputWithContext(ctx context.Context) VoiceConnectorOrganizationMapOutput

type VoiceConnectorOrganizationMapInput

type VoiceConnectorOrganizationMapInput interface {
	pulumi.Input

	ToVoiceConnectorOrganizationMapOutput() VoiceConnectorOrganizationMapOutput
	ToVoiceConnectorOrganizationMapOutputWithContext(context.Context) VoiceConnectorOrganizationMapOutput
}

VoiceConnectorOrganizationMapInput is an input type that accepts VoiceConnectorOrganizationMap and VoiceConnectorOrganizationMapOutput values. You can construct a concrete instance of `VoiceConnectorOrganizationMapInput` via:

VoiceConnectorOrganizationMap{ "key": VoiceConnectorOrganizationArgs{...} }

type VoiceConnectorOrganizationMapOutput

type VoiceConnectorOrganizationMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorOrganizationMapOutput) ElementType

func (VoiceConnectorOrganizationMapOutput) MapIndex

func (VoiceConnectorOrganizationMapOutput) ToVoiceConnectorOrganizationMapOutput

func (o VoiceConnectorOrganizationMapOutput) ToVoiceConnectorOrganizationMapOutput() VoiceConnectorOrganizationMapOutput

func (VoiceConnectorOrganizationMapOutput) ToVoiceConnectorOrganizationMapOutputWithContext

func (o VoiceConnectorOrganizationMapOutput) ToVoiceConnectorOrganizationMapOutputWithContext(ctx context.Context) VoiceConnectorOrganizationMapOutput

type VoiceConnectorOrganizationOutput

type VoiceConnectorOrganizationOutput struct{ *pulumi.OutputState }

func (VoiceConnectorOrganizationOutput) Disabled

When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector.

func (VoiceConnectorOrganizationOutput) ElementType

func (VoiceConnectorOrganizationOutput) Routes

Set of call distribution properties defined for your SIP hosts. See route below for more details. Minimum of 1. Maximum of 20.

func (VoiceConnectorOrganizationOutput) ToVoiceConnectorOrganizationOutput

func (o VoiceConnectorOrganizationOutput) ToVoiceConnectorOrganizationOutput() VoiceConnectorOrganizationOutput

func (VoiceConnectorOrganizationOutput) ToVoiceConnectorOrganizationOutputWithContext

func (o VoiceConnectorOrganizationOutput) ToVoiceConnectorOrganizationOutputWithContext(ctx context.Context) VoiceConnectorOrganizationOutput

func (VoiceConnectorOrganizationOutput) VoiceConnectorId

The Amazon Chime Voice Connector ID.

type VoiceConnectorOrganizationRoute

type VoiceConnectorOrganizationRoute struct {
	// The FQDN or IP address to contact for origination traffic.
	Host string `pulumi:"host"`
	// The designated origination route port. Defaults to `5060`.
	Port *int `pulumi:"port"`
	// The priority associated with the host, with 1 being the highest priority. Higher priority hosts are attempted first.
	Priority int `pulumi:"priority"`
	// The protocol to use for the origination route. Encryption-enabled Amazon Chime Voice Connectors use TCP protocol by default.
	Protocol string `pulumi:"protocol"`
	// The weight associated with the host. If hosts are equal in priority, calls are redistributed among them based on their relative weight.
	Weight int `pulumi:"weight"`
}

type VoiceConnectorOrganizationRouteArgs

type VoiceConnectorOrganizationRouteArgs struct {
	// The FQDN or IP address to contact for origination traffic.
	Host pulumi.StringInput `pulumi:"host"`
	// The designated origination route port. Defaults to `5060`.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// The priority associated with the host, with 1 being the highest priority. Higher priority hosts are attempted first.
	Priority pulumi.IntInput `pulumi:"priority"`
	// The protocol to use for the origination route. Encryption-enabled Amazon Chime Voice Connectors use TCP protocol by default.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// The weight associated with the host. If hosts are equal in priority, calls are redistributed among them based on their relative weight.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (VoiceConnectorOrganizationRouteArgs) ElementType

func (VoiceConnectorOrganizationRouteArgs) ToVoiceConnectorOrganizationRouteOutput

func (i VoiceConnectorOrganizationRouteArgs) ToVoiceConnectorOrganizationRouteOutput() VoiceConnectorOrganizationRouteOutput

func (VoiceConnectorOrganizationRouteArgs) ToVoiceConnectorOrganizationRouteOutputWithContext

func (i VoiceConnectorOrganizationRouteArgs) ToVoiceConnectorOrganizationRouteOutputWithContext(ctx context.Context) VoiceConnectorOrganizationRouteOutput

type VoiceConnectorOrganizationRouteArray

type VoiceConnectorOrganizationRouteArray []VoiceConnectorOrganizationRouteInput

func (VoiceConnectorOrganizationRouteArray) ElementType

func (VoiceConnectorOrganizationRouteArray) ToVoiceConnectorOrganizationRouteArrayOutput

func (i VoiceConnectorOrganizationRouteArray) ToVoiceConnectorOrganizationRouteArrayOutput() VoiceConnectorOrganizationRouteArrayOutput

func (VoiceConnectorOrganizationRouteArray) ToVoiceConnectorOrganizationRouteArrayOutputWithContext

func (i VoiceConnectorOrganizationRouteArray) ToVoiceConnectorOrganizationRouteArrayOutputWithContext(ctx context.Context) VoiceConnectorOrganizationRouteArrayOutput

type VoiceConnectorOrganizationRouteArrayInput

type VoiceConnectorOrganizationRouteArrayInput interface {
	pulumi.Input

	ToVoiceConnectorOrganizationRouteArrayOutput() VoiceConnectorOrganizationRouteArrayOutput
	ToVoiceConnectorOrganizationRouteArrayOutputWithContext(context.Context) VoiceConnectorOrganizationRouteArrayOutput
}

VoiceConnectorOrganizationRouteArrayInput is an input type that accepts VoiceConnectorOrganizationRouteArray and VoiceConnectorOrganizationRouteArrayOutput values. You can construct a concrete instance of `VoiceConnectorOrganizationRouteArrayInput` via:

VoiceConnectorOrganizationRouteArray{ VoiceConnectorOrganizationRouteArgs{...} }

type VoiceConnectorOrganizationRouteArrayOutput

type VoiceConnectorOrganizationRouteArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorOrganizationRouteArrayOutput) ElementType

func (VoiceConnectorOrganizationRouteArrayOutput) Index

func (VoiceConnectorOrganizationRouteArrayOutput) ToVoiceConnectorOrganizationRouteArrayOutput

func (o VoiceConnectorOrganizationRouteArrayOutput) ToVoiceConnectorOrganizationRouteArrayOutput() VoiceConnectorOrganizationRouteArrayOutput

func (VoiceConnectorOrganizationRouteArrayOutput) ToVoiceConnectorOrganizationRouteArrayOutputWithContext

func (o VoiceConnectorOrganizationRouteArrayOutput) ToVoiceConnectorOrganizationRouteArrayOutputWithContext(ctx context.Context) VoiceConnectorOrganizationRouteArrayOutput

type VoiceConnectorOrganizationRouteInput

type VoiceConnectorOrganizationRouteInput interface {
	pulumi.Input

	ToVoiceConnectorOrganizationRouteOutput() VoiceConnectorOrganizationRouteOutput
	ToVoiceConnectorOrganizationRouteOutputWithContext(context.Context) VoiceConnectorOrganizationRouteOutput
}

VoiceConnectorOrganizationRouteInput is an input type that accepts VoiceConnectorOrganizationRouteArgs and VoiceConnectorOrganizationRouteOutput values. You can construct a concrete instance of `VoiceConnectorOrganizationRouteInput` via:

VoiceConnectorOrganizationRouteArgs{...}

type VoiceConnectorOrganizationRouteOutput

type VoiceConnectorOrganizationRouteOutput struct{ *pulumi.OutputState }

func (VoiceConnectorOrganizationRouteOutput) ElementType

func (VoiceConnectorOrganizationRouteOutput) Host

The FQDN or IP address to contact for origination traffic.

func (VoiceConnectorOrganizationRouteOutput) Port

The designated origination route port. Defaults to `5060`.

func (VoiceConnectorOrganizationRouteOutput) Priority

The priority associated with the host, with 1 being the highest priority. Higher priority hosts are attempted first.

func (VoiceConnectorOrganizationRouteOutput) Protocol

The protocol to use for the origination route. Encryption-enabled Amazon Chime Voice Connectors use TCP protocol by default.

func (VoiceConnectorOrganizationRouteOutput) ToVoiceConnectorOrganizationRouteOutput

func (o VoiceConnectorOrganizationRouteOutput) ToVoiceConnectorOrganizationRouteOutput() VoiceConnectorOrganizationRouteOutput

func (VoiceConnectorOrganizationRouteOutput) ToVoiceConnectorOrganizationRouteOutputWithContext

func (o VoiceConnectorOrganizationRouteOutput) ToVoiceConnectorOrganizationRouteOutputWithContext(ctx context.Context) VoiceConnectorOrganizationRouteOutput

func (VoiceConnectorOrganizationRouteOutput) Weight

The weight associated with the host. If hosts are equal in priority, calls are redistributed among them based on their relative weight.

type VoiceConnectorOrganizationState

type VoiceConnectorOrganizationState struct {
	// When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector.
	Disabled pulumi.BoolPtrInput
	// Set of call distribution properties defined for your SIP hosts. See route below for more details. Minimum of 1. Maximum of 20.
	Routes VoiceConnectorOrganizationRouteArrayInput
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringPtrInput
}

func (VoiceConnectorOrganizationState) ElementType

type VoiceConnectorOutput

type VoiceConnectorOutput struct{ *pulumi.OutputState }

func (VoiceConnectorOutput) Arn

ARN (Amazon Resource Name) of the Amazon Chime Voice Connector.

func (VoiceConnectorOutput) AwsRegion

The AWS Region in which the Amazon Chime Voice Connector is created. Default value: `us-east-1`

func (VoiceConnectorOutput) ElementType

func (VoiceConnectorOutput) ElementType() reflect.Type

func (VoiceConnectorOutput) Name

The name of the Amazon Chime Voice Connector.

func (VoiceConnectorOutput) OutboundHostName

func (o VoiceConnectorOutput) OutboundHostName() pulumi.StringOutput

The outbound host name for the Amazon Chime Voice Connector.

func (VoiceConnectorOutput) RequireEncryption

func (o VoiceConnectorOutput) RequireEncryption() pulumi.BoolOutput

When enabled, requires encryption for the Amazon Chime Voice Connector.

The following arguments are optional:

func (VoiceConnectorOutput) Tags

Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (VoiceConnectorOutput) TagsAll

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

func (VoiceConnectorOutput) ToVoiceConnectorOutput

func (o VoiceConnectorOutput) ToVoiceConnectorOutput() VoiceConnectorOutput

func (VoiceConnectorOutput) ToVoiceConnectorOutputWithContext

func (o VoiceConnectorOutput) ToVoiceConnectorOutputWithContext(ctx context.Context) VoiceConnectorOutput

type VoiceConnectorState

type VoiceConnectorState struct {
	// ARN (Amazon Resource Name) of the Amazon Chime Voice Connector.
	Arn pulumi.StringPtrInput
	// The AWS Region in which the Amazon Chime Voice Connector is created. Default value: `us-east-1`
	AwsRegion pulumi.StringPtrInput
	// The name of the Amazon Chime Voice Connector.
	Name pulumi.StringPtrInput
	// The outbound host name for the Amazon Chime Voice Connector.
	OutboundHostName pulumi.StringPtrInput
	// When enabled, requires encryption for the Amazon Chime Voice Connector.
	//
	// The following arguments are optional:
	RequireEncryption pulumi.BoolPtrInput
	// Key-value mapping of resource tags. 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 (VoiceConnectorState) ElementType

func (VoiceConnectorState) ElementType() reflect.Type

type VoiceConnectorStreaming

type VoiceConnectorStreaming struct {
	pulumi.CustomResourceState

	// The retention period, in hours, for the Amazon Kinesis data.
	DataRetention pulumi.IntOutput `pulumi:"dataRetention"`
	// When true, media streaming to Amazon Kinesis is turned off. Default: `false`
	Disabled pulumi.BoolPtrOutput `pulumi:"disabled"`
	// The media insights configuration. See `mediaInsightsConfiguration`.
	MediaInsightsConfiguration VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput `pulumi:"mediaInsightsConfiguration"`
	// The streaming notification targets. Valid Values: `EventBridge | SNS | SQS`
	StreamingNotificationTargets pulumi.StringArrayOutput `pulumi:"streamingNotificationTargets"`
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringOutput `pulumi:"voiceConnectorId"`
}

Adds a streaming configuration for the specified Amazon Chime Voice Connector. The streaming configuration specifies whether media streaming is enabled for sending to Amazon Kinesis. It also sets the retention period, in hours, for the Amazon Kinesis data.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultVoiceConnector, err := chime.NewVoiceConnector(ctx, "defaultVoiceConnector", &chime.VoiceConnectorArgs{
			RequireEncryption: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = chime.NewVoiceConnectorStreaming(ctx, "defaultVoiceConnectorStreaming", &chime.VoiceConnectorStreamingArgs{
			Disabled:         pulumi.Bool(false),
			VoiceConnectorId: defaultVoiceConnector.ID(),
			DataRetention:    pulumi.Int(7),
			StreamingNotificationTargets: pulumi.StringArray{
				pulumi.String("SQS"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example Usage With Media Insights

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/chime"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/chimesdkmediapipelines"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesis"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultVoiceConnector, err := chime.NewVoiceConnector(ctx, "defaultVoiceConnector", &chime.VoiceConnectorArgs{
			RequireEncryption: pulumi.Bool(true),
		})
		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{
								"mediapipelines.chime.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
		}
		exampleStream, err := kinesis.NewStream(ctx, "exampleStream", &kinesis.StreamArgs{
			ShardCount: pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		exampleMediaInsightsPipelineConfiguration, err := chimesdkmediapipelines.NewMediaInsightsPipelineConfiguration(ctx, "exampleMediaInsightsPipelineConfiguration", &chimesdkmediapipelines.MediaInsightsPipelineConfigurationArgs{
			ResourceAccessRoleArn: exampleRole.Arn,
			Elements: chimesdkmediapipelines.MediaInsightsPipelineConfigurationElementArray{
				&chimesdkmediapipelines.MediaInsightsPipelineConfigurationElementArgs{
					Type: pulumi.String("AmazonTranscribeCallAnalyticsProcessor"),
					AmazonTranscribeCallAnalyticsProcessorConfiguration: &chimesdkmediapipelines.MediaInsightsPipelineConfigurationElementAmazonTranscribeCallAnalyticsProcessorConfigurationArgs{
						LanguageCode: pulumi.String("en-US"),
					},
				},
				&chimesdkmediapipelines.MediaInsightsPipelineConfigurationElementArgs{
					Type: pulumi.String("KinesisDataStreamSink"),
					KinesisDataStreamSinkConfiguration: &chimesdkmediapipelines.MediaInsightsPipelineConfigurationElementKinesisDataStreamSinkConfigurationArgs{
						InsightsTarget: exampleStream.Arn,
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = chime.NewVoiceConnectorStreaming(ctx, "defaultVoiceConnectorStreaming", &chime.VoiceConnectorStreamingArgs{
			Disabled:         pulumi.Bool(false),
			VoiceConnectorId: defaultVoiceConnector.ID(),
			DataRetention:    pulumi.Int(7),
			StreamingNotificationTargets: pulumi.StringArray{
				pulumi.String("SQS"),
			},
			MediaInsightsConfiguration: &chime.VoiceConnectorStreamingMediaInsightsConfigurationArgs{
				Disabled:         pulumi.Bool(false),
				ConfigurationArn: exampleMediaInsightsPipelineConfiguration.Arn,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_chime_voice_connector_streaming.default

id = "abcdef1ghij2klmno3pqr4" } Using `pulumi import`, import Chime Voice Connector Streaming using the `voice_connector_id`. For exampleconsole % pulumi import aws_chime_voice_connector_streaming.default abcdef1ghij2klmno3pqr4

func GetVoiceConnectorStreaming

func GetVoiceConnectorStreaming(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VoiceConnectorStreamingState, opts ...pulumi.ResourceOption) (*VoiceConnectorStreaming, error)

GetVoiceConnectorStreaming gets an existing VoiceConnectorStreaming 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 NewVoiceConnectorStreaming

func NewVoiceConnectorStreaming(ctx *pulumi.Context,
	name string, args *VoiceConnectorStreamingArgs, opts ...pulumi.ResourceOption) (*VoiceConnectorStreaming, error)

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

func (*VoiceConnectorStreaming) ElementType

func (*VoiceConnectorStreaming) ElementType() reflect.Type

func (*VoiceConnectorStreaming) ToVoiceConnectorStreamingOutput

func (i *VoiceConnectorStreaming) ToVoiceConnectorStreamingOutput() VoiceConnectorStreamingOutput

func (*VoiceConnectorStreaming) ToVoiceConnectorStreamingOutputWithContext

func (i *VoiceConnectorStreaming) ToVoiceConnectorStreamingOutputWithContext(ctx context.Context) VoiceConnectorStreamingOutput

type VoiceConnectorStreamingArgs

type VoiceConnectorStreamingArgs struct {
	// The retention period, in hours, for the Amazon Kinesis data.
	DataRetention pulumi.IntInput
	// When true, media streaming to Amazon Kinesis is turned off. Default: `false`
	Disabled pulumi.BoolPtrInput
	// The media insights configuration. See `mediaInsightsConfiguration`.
	MediaInsightsConfiguration VoiceConnectorStreamingMediaInsightsConfigurationPtrInput
	// The streaming notification targets. Valid Values: `EventBridge | SNS | SQS`
	StreamingNotificationTargets pulumi.StringArrayInput
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringInput
}

The set of arguments for constructing a VoiceConnectorStreaming resource.

func (VoiceConnectorStreamingArgs) ElementType

type VoiceConnectorStreamingArray

type VoiceConnectorStreamingArray []VoiceConnectorStreamingInput

func (VoiceConnectorStreamingArray) ElementType

func (VoiceConnectorStreamingArray) ToVoiceConnectorStreamingArrayOutput

func (i VoiceConnectorStreamingArray) ToVoiceConnectorStreamingArrayOutput() VoiceConnectorStreamingArrayOutput

func (VoiceConnectorStreamingArray) ToVoiceConnectorStreamingArrayOutputWithContext

func (i VoiceConnectorStreamingArray) ToVoiceConnectorStreamingArrayOutputWithContext(ctx context.Context) VoiceConnectorStreamingArrayOutput

type VoiceConnectorStreamingArrayInput

type VoiceConnectorStreamingArrayInput interface {
	pulumi.Input

	ToVoiceConnectorStreamingArrayOutput() VoiceConnectorStreamingArrayOutput
	ToVoiceConnectorStreamingArrayOutputWithContext(context.Context) VoiceConnectorStreamingArrayOutput
}

VoiceConnectorStreamingArrayInput is an input type that accepts VoiceConnectorStreamingArray and VoiceConnectorStreamingArrayOutput values. You can construct a concrete instance of `VoiceConnectorStreamingArrayInput` via:

VoiceConnectorStreamingArray{ VoiceConnectorStreamingArgs{...} }

type VoiceConnectorStreamingArrayOutput

type VoiceConnectorStreamingArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorStreamingArrayOutput) ElementType

func (VoiceConnectorStreamingArrayOutput) Index

func (VoiceConnectorStreamingArrayOutput) ToVoiceConnectorStreamingArrayOutput

func (o VoiceConnectorStreamingArrayOutput) ToVoiceConnectorStreamingArrayOutput() VoiceConnectorStreamingArrayOutput

func (VoiceConnectorStreamingArrayOutput) ToVoiceConnectorStreamingArrayOutputWithContext

func (o VoiceConnectorStreamingArrayOutput) ToVoiceConnectorStreamingArrayOutputWithContext(ctx context.Context) VoiceConnectorStreamingArrayOutput

type VoiceConnectorStreamingInput

type VoiceConnectorStreamingInput interface {
	pulumi.Input

	ToVoiceConnectorStreamingOutput() VoiceConnectorStreamingOutput
	ToVoiceConnectorStreamingOutputWithContext(ctx context.Context) VoiceConnectorStreamingOutput
}

type VoiceConnectorStreamingMap

type VoiceConnectorStreamingMap map[string]VoiceConnectorStreamingInput

func (VoiceConnectorStreamingMap) ElementType

func (VoiceConnectorStreamingMap) ElementType() reflect.Type

func (VoiceConnectorStreamingMap) ToVoiceConnectorStreamingMapOutput

func (i VoiceConnectorStreamingMap) ToVoiceConnectorStreamingMapOutput() VoiceConnectorStreamingMapOutput

func (VoiceConnectorStreamingMap) ToVoiceConnectorStreamingMapOutputWithContext

func (i VoiceConnectorStreamingMap) ToVoiceConnectorStreamingMapOutputWithContext(ctx context.Context) VoiceConnectorStreamingMapOutput

type VoiceConnectorStreamingMapInput

type VoiceConnectorStreamingMapInput interface {
	pulumi.Input

	ToVoiceConnectorStreamingMapOutput() VoiceConnectorStreamingMapOutput
	ToVoiceConnectorStreamingMapOutputWithContext(context.Context) VoiceConnectorStreamingMapOutput
}

VoiceConnectorStreamingMapInput is an input type that accepts VoiceConnectorStreamingMap and VoiceConnectorStreamingMapOutput values. You can construct a concrete instance of `VoiceConnectorStreamingMapInput` via:

VoiceConnectorStreamingMap{ "key": VoiceConnectorStreamingArgs{...} }

type VoiceConnectorStreamingMapOutput

type VoiceConnectorStreamingMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorStreamingMapOutput) ElementType

func (VoiceConnectorStreamingMapOutput) MapIndex

func (VoiceConnectorStreamingMapOutput) ToVoiceConnectorStreamingMapOutput

func (o VoiceConnectorStreamingMapOutput) ToVoiceConnectorStreamingMapOutput() VoiceConnectorStreamingMapOutput

func (VoiceConnectorStreamingMapOutput) ToVoiceConnectorStreamingMapOutputWithContext

func (o VoiceConnectorStreamingMapOutput) ToVoiceConnectorStreamingMapOutputWithContext(ctx context.Context) VoiceConnectorStreamingMapOutput

type VoiceConnectorStreamingMediaInsightsConfiguration

type VoiceConnectorStreamingMediaInsightsConfiguration struct {
	// The media insights configuration that will be invoked by the Voice Connector.
	ConfigurationArn *string `pulumi:"configurationArn"`
	// When `true`, the media insights configuration is not enabled. Defaults to `false`.
	Disabled *bool `pulumi:"disabled"`
}

type VoiceConnectorStreamingMediaInsightsConfigurationArgs

type VoiceConnectorStreamingMediaInsightsConfigurationArgs struct {
	// The media insights configuration that will be invoked by the Voice Connector.
	ConfigurationArn pulumi.StringPtrInput `pulumi:"configurationArn"`
	// When `true`, the media insights configuration is not enabled. Defaults to `false`.
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
}

func (VoiceConnectorStreamingMediaInsightsConfigurationArgs) ElementType

func (VoiceConnectorStreamingMediaInsightsConfigurationArgs) ToVoiceConnectorStreamingMediaInsightsConfigurationOutput

func (i VoiceConnectorStreamingMediaInsightsConfigurationArgs) ToVoiceConnectorStreamingMediaInsightsConfigurationOutput() VoiceConnectorStreamingMediaInsightsConfigurationOutput

func (VoiceConnectorStreamingMediaInsightsConfigurationArgs) ToVoiceConnectorStreamingMediaInsightsConfigurationOutputWithContext

func (i VoiceConnectorStreamingMediaInsightsConfigurationArgs) ToVoiceConnectorStreamingMediaInsightsConfigurationOutputWithContext(ctx context.Context) VoiceConnectorStreamingMediaInsightsConfigurationOutput

func (VoiceConnectorStreamingMediaInsightsConfigurationArgs) ToVoiceConnectorStreamingMediaInsightsConfigurationPtrOutput

func (i VoiceConnectorStreamingMediaInsightsConfigurationArgs) ToVoiceConnectorStreamingMediaInsightsConfigurationPtrOutput() VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput

func (VoiceConnectorStreamingMediaInsightsConfigurationArgs) ToVoiceConnectorStreamingMediaInsightsConfigurationPtrOutputWithContext

func (i VoiceConnectorStreamingMediaInsightsConfigurationArgs) ToVoiceConnectorStreamingMediaInsightsConfigurationPtrOutputWithContext(ctx context.Context) VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput

type VoiceConnectorStreamingMediaInsightsConfigurationInput

type VoiceConnectorStreamingMediaInsightsConfigurationInput interface {
	pulumi.Input

	ToVoiceConnectorStreamingMediaInsightsConfigurationOutput() VoiceConnectorStreamingMediaInsightsConfigurationOutput
	ToVoiceConnectorStreamingMediaInsightsConfigurationOutputWithContext(context.Context) VoiceConnectorStreamingMediaInsightsConfigurationOutput
}

VoiceConnectorStreamingMediaInsightsConfigurationInput is an input type that accepts VoiceConnectorStreamingMediaInsightsConfigurationArgs and VoiceConnectorStreamingMediaInsightsConfigurationOutput values. You can construct a concrete instance of `VoiceConnectorStreamingMediaInsightsConfigurationInput` via:

VoiceConnectorStreamingMediaInsightsConfigurationArgs{...}

type VoiceConnectorStreamingMediaInsightsConfigurationOutput

type VoiceConnectorStreamingMediaInsightsConfigurationOutput struct{ *pulumi.OutputState }

func (VoiceConnectorStreamingMediaInsightsConfigurationOutput) ConfigurationArn

The media insights configuration that will be invoked by the Voice Connector.

func (VoiceConnectorStreamingMediaInsightsConfigurationOutput) Disabled

When `true`, the media insights configuration is not enabled. Defaults to `false`.

func (VoiceConnectorStreamingMediaInsightsConfigurationOutput) ElementType

func (VoiceConnectorStreamingMediaInsightsConfigurationOutput) ToVoiceConnectorStreamingMediaInsightsConfigurationOutput

func (VoiceConnectorStreamingMediaInsightsConfigurationOutput) ToVoiceConnectorStreamingMediaInsightsConfigurationOutputWithContext

func (o VoiceConnectorStreamingMediaInsightsConfigurationOutput) ToVoiceConnectorStreamingMediaInsightsConfigurationOutputWithContext(ctx context.Context) VoiceConnectorStreamingMediaInsightsConfigurationOutput

func (VoiceConnectorStreamingMediaInsightsConfigurationOutput) ToVoiceConnectorStreamingMediaInsightsConfigurationPtrOutput

func (VoiceConnectorStreamingMediaInsightsConfigurationOutput) ToVoiceConnectorStreamingMediaInsightsConfigurationPtrOutputWithContext

func (o VoiceConnectorStreamingMediaInsightsConfigurationOutput) ToVoiceConnectorStreamingMediaInsightsConfigurationPtrOutputWithContext(ctx context.Context) VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput

type VoiceConnectorStreamingMediaInsightsConfigurationPtrInput

type VoiceConnectorStreamingMediaInsightsConfigurationPtrInput interface {
	pulumi.Input

	ToVoiceConnectorStreamingMediaInsightsConfigurationPtrOutput() VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput
	ToVoiceConnectorStreamingMediaInsightsConfigurationPtrOutputWithContext(context.Context) VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput
}

VoiceConnectorStreamingMediaInsightsConfigurationPtrInput is an input type that accepts VoiceConnectorStreamingMediaInsightsConfigurationArgs, VoiceConnectorStreamingMediaInsightsConfigurationPtr and VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput values. You can construct a concrete instance of `VoiceConnectorStreamingMediaInsightsConfigurationPtrInput` via:

        VoiceConnectorStreamingMediaInsightsConfigurationArgs{...}

or:

        nil

type VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput

type VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput struct{ *pulumi.OutputState }

func (VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput) ConfigurationArn

The media insights configuration that will be invoked by the Voice Connector.

func (VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput) Disabled

When `true`, the media insights configuration is not enabled. Defaults to `false`.

func (VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput) Elem

func (VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput) ElementType

func (VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput) ToVoiceConnectorStreamingMediaInsightsConfigurationPtrOutput

func (VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput) ToVoiceConnectorStreamingMediaInsightsConfigurationPtrOutputWithContext

func (o VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput) ToVoiceConnectorStreamingMediaInsightsConfigurationPtrOutputWithContext(ctx context.Context) VoiceConnectorStreamingMediaInsightsConfigurationPtrOutput

type VoiceConnectorStreamingOutput

type VoiceConnectorStreamingOutput struct{ *pulumi.OutputState }

func (VoiceConnectorStreamingOutput) DataRetention

The retention period, in hours, for the Amazon Kinesis data.

func (VoiceConnectorStreamingOutput) Disabled

When true, media streaming to Amazon Kinesis is turned off. Default: `false`

func (VoiceConnectorStreamingOutput) ElementType

func (VoiceConnectorStreamingOutput) MediaInsightsConfiguration

The media insights configuration. See `mediaInsightsConfiguration`.

func (VoiceConnectorStreamingOutput) StreamingNotificationTargets

func (o VoiceConnectorStreamingOutput) StreamingNotificationTargets() pulumi.StringArrayOutput

The streaming notification targets. Valid Values: `EventBridge | SNS | SQS`

func (VoiceConnectorStreamingOutput) ToVoiceConnectorStreamingOutput

func (o VoiceConnectorStreamingOutput) ToVoiceConnectorStreamingOutput() VoiceConnectorStreamingOutput

func (VoiceConnectorStreamingOutput) ToVoiceConnectorStreamingOutputWithContext

func (o VoiceConnectorStreamingOutput) ToVoiceConnectorStreamingOutputWithContext(ctx context.Context) VoiceConnectorStreamingOutput

func (VoiceConnectorStreamingOutput) VoiceConnectorId

func (o VoiceConnectorStreamingOutput) VoiceConnectorId() pulumi.StringOutput

The Amazon Chime Voice Connector ID.

type VoiceConnectorStreamingState

type VoiceConnectorStreamingState struct {
	// The retention period, in hours, for the Amazon Kinesis data.
	DataRetention pulumi.IntPtrInput
	// When true, media streaming to Amazon Kinesis is turned off. Default: `false`
	Disabled pulumi.BoolPtrInput
	// The media insights configuration. See `mediaInsightsConfiguration`.
	MediaInsightsConfiguration VoiceConnectorStreamingMediaInsightsConfigurationPtrInput
	// The streaming notification targets. Valid Values: `EventBridge | SNS | SQS`
	StreamingNotificationTargets pulumi.StringArrayInput
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringPtrInput
}

func (VoiceConnectorStreamingState) ElementType

type VoiceConnectorTermination

type VoiceConnectorTermination struct {
	pulumi.CustomResourceState

	// The countries to which calls are allowed, in ISO 3166-1 alpha-2 format.
	CallingRegions pulumi.StringArrayOutput `pulumi:"callingRegions"`
	// The IP addresses allowed to make calls, in CIDR format.
	CidrAllowLists pulumi.StringArrayOutput `pulumi:"cidrAllowLists"`
	// The limit on calls per second. Max value based on account service quota. Default value of `1`.
	CpsLimit pulumi.IntPtrOutput `pulumi:"cpsLimit"`
	// The default caller ID phone number.
	DefaultPhoneNumber pulumi.StringPtrOutput `pulumi:"defaultPhoneNumber"`
	// When termination settings are disabled, outbound calls can not be made.
	Disabled pulumi.BoolPtrOutput `pulumi:"disabled"`
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringOutput `pulumi:"voiceConnectorId"`
}

Enable Termination settings to control outbound calling from your SIP infrastructure.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultVoiceConnector, err := chime.NewVoiceConnector(ctx, "defaultVoiceConnector", &chime.VoiceConnectorArgs{
			RequireEncryption: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = chime.NewVoiceConnectorTermination(ctx, "defaultVoiceConnectorTermination", &chime.VoiceConnectorTerminationArgs{
			Disabled: pulumi.Bool(false),
			CpsLimit: pulumi.Int(1),
			CidrAllowLists: pulumi.StringArray{
				pulumi.String("50.35.78.96/31"),
			},
			CallingRegions: pulumi.StringArray{
				pulumi.String("US"),
				pulumi.String("CA"),
			},
			VoiceConnectorId: defaultVoiceConnector.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_chime_voice_connector_termination.default

id = "abcdef1ghij2klmno3pqr4" } Using `pulumi import`, import Chime Voice Connector Termination using the `voice_connector_id`. For exampleconsole % pulumi import aws_chime_voice_connector_termination.default abcdef1ghij2klmno3pqr4

func GetVoiceConnectorTermination

func GetVoiceConnectorTermination(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VoiceConnectorTerminationState, opts ...pulumi.ResourceOption) (*VoiceConnectorTermination, error)

GetVoiceConnectorTermination gets an existing VoiceConnectorTermination 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 NewVoiceConnectorTermination

func NewVoiceConnectorTermination(ctx *pulumi.Context,
	name string, args *VoiceConnectorTerminationArgs, opts ...pulumi.ResourceOption) (*VoiceConnectorTermination, error)

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

func (*VoiceConnectorTermination) ElementType

func (*VoiceConnectorTermination) ElementType() reflect.Type

func (*VoiceConnectorTermination) ToVoiceConnectorTerminationOutput

func (i *VoiceConnectorTermination) ToVoiceConnectorTerminationOutput() VoiceConnectorTerminationOutput

func (*VoiceConnectorTermination) ToVoiceConnectorTerminationOutputWithContext

func (i *VoiceConnectorTermination) ToVoiceConnectorTerminationOutputWithContext(ctx context.Context) VoiceConnectorTerminationOutput

type VoiceConnectorTerminationArgs

type VoiceConnectorTerminationArgs struct {
	// The countries to which calls are allowed, in ISO 3166-1 alpha-2 format.
	CallingRegions pulumi.StringArrayInput
	// The IP addresses allowed to make calls, in CIDR format.
	CidrAllowLists pulumi.StringArrayInput
	// The limit on calls per second. Max value based on account service quota. Default value of `1`.
	CpsLimit pulumi.IntPtrInput
	// The default caller ID phone number.
	DefaultPhoneNumber pulumi.StringPtrInput
	// When termination settings are disabled, outbound calls can not be made.
	Disabled pulumi.BoolPtrInput
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringInput
}

The set of arguments for constructing a VoiceConnectorTermination resource.

func (VoiceConnectorTerminationArgs) ElementType

type VoiceConnectorTerminationArray

type VoiceConnectorTerminationArray []VoiceConnectorTerminationInput

func (VoiceConnectorTerminationArray) ElementType

func (VoiceConnectorTerminationArray) ToVoiceConnectorTerminationArrayOutput

func (i VoiceConnectorTerminationArray) ToVoiceConnectorTerminationArrayOutput() VoiceConnectorTerminationArrayOutput

func (VoiceConnectorTerminationArray) ToVoiceConnectorTerminationArrayOutputWithContext

func (i VoiceConnectorTerminationArray) ToVoiceConnectorTerminationArrayOutputWithContext(ctx context.Context) VoiceConnectorTerminationArrayOutput

type VoiceConnectorTerminationArrayInput

type VoiceConnectorTerminationArrayInput interface {
	pulumi.Input

	ToVoiceConnectorTerminationArrayOutput() VoiceConnectorTerminationArrayOutput
	ToVoiceConnectorTerminationArrayOutputWithContext(context.Context) VoiceConnectorTerminationArrayOutput
}

VoiceConnectorTerminationArrayInput is an input type that accepts VoiceConnectorTerminationArray and VoiceConnectorTerminationArrayOutput values. You can construct a concrete instance of `VoiceConnectorTerminationArrayInput` via:

VoiceConnectorTerminationArray{ VoiceConnectorTerminationArgs{...} }

type VoiceConnectorTerminationArrayOutput

type VoiceConnectorTerminationArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationArrayOutput) ElementType

func (VoiceConnectorTerminationArrayOutput) Index

func (VoiceConnectorTerminationArrayOutput) ToVoiceConnectorTerminationArrayOutput

func (o VoiceConnectorTerminationArrayOutput) ToVoiceConnectorTerminationArrayOutput() VoiceConnectorTerminationArrayOutput

func (VoiceConnectorTerminationArrayOutput) ToVoiceConnectorTerminationArrayOutputWithContext

func (o VoiceConnectorTerminationArrayOutput) ToVoiceConnectorTerminationArrayOutputWithContext(ctx context.Context) VoiceConnectorTerminationArrayOutput

type VoiceConnectorTerminationCredentials

type VoiceConnectorTerminationCredentials struct {
	pulumi.CustomResourceState

	// List of termination SIP credentials.
	Credentials VoiceConnectorTerminationCredentialsCredentialArrayOutput `pulumi:"credentials"`
	// Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringOutput `pulumi:"voiceConnectorId"`
}

Adds termination SIP credentials for the specified Amazon Chime Voice Connector.

> **Note:** Voice Connector Termination Credentials requires a Voice Connector Termination to be present. Use of `dependsOn` (as shown below) is recommended to avoid race conditions.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultVoiceConnector, err := chime.NewVoiceConnector(ctx, "defaultVoiceConnector", &chime.VoiceConnectorArgs{
			RequireEncryption: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		defaultVoiceConnectorTermination, err := chime.NewVoiceConnectorTermination(ctx, "defaultVoiceConnectorTermination", &chime.VoiceConnectorTerminationArgs{
			Disabled: pulumi.Bool(true),
			CpsLimit: pulumi.Int(1),
			CidrAllowLists: pulumi.StringArray{
				pulumi.String("50.35.78.96/31"),
			},
			CallingRegions: pulumi.StringArray{
				pulumi.String("US"),
				pulumi.String("CA"),
			},
			VoiceConnectorId: defaultVoiceConnector.ID(),
		})
		if err != nil {
			return err
		}
		_, err = chime.NewVoiceConnectorTerminationCredentials(ctx, "defaultVoiceConnectorTerminationCredentials", &chime.VoiceConnectorTerminationCredentialsArgs{
			VoiceConnectorId: defaultVoiceConnector.ID(),
			Credentials: chime.VoiceConnectorTerminationCredentialsCredentialArray{
				&chime.VoiceConnectorTerminationCredentialsCredentialArgs{
					Username: pulumi.String("test"),
					Password: pulumi.String("test!"),
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			defaultVoiceConnectorTermination,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_chime_voice_connector_termination_credentials.default

id = "abcdef1ghij2klmno3pqr4" } Using `pulumi import`, import Chime Voice Connector Termination Credentials using the `voice_connector_id`. For exampleconsole % pulumi import aws_chime_voice_connector_termination_credentials.default abcdef1ghij2klmno3pqr4

func GetVoiceConnectorTerminationCredentials

func GetVoiceConnectorTerminationCredentials(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VoiceConnectorTerminationCredentialsState, opts ...pulumi.ResourceOption) (*VoiceConnectorTerminationCredentials, error)

GetVoiceConnectorTerminationCredentials gets an existing VoiceConnectorTerminationCredentials 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 NewVoiceConnectorTerminationCredentials

func NewVoiceConnectorTerminationCredentials(ctx *pulumi.Context,
	name string, args *VoiceConnectorTerminationCredentialsArgs, opts ...pulumi.ResourceOption) (*VoiceConnectorTerminationCredentials, error)

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

func (*VoiceConnectorTerminationCredentials) ElementType

func (*VoiceConnectorTerminationCredentials) ToVoiceConnectorTerminationCredentialsOutput

func (i *VoiceConnectorTerminationCredentials) ToVoiceConnectorTerminationCredentialsOutput() VoiceConnectorTerminationCredentialsOutput

func (*VoiceConnectorTerminationCredentials) ToVoiceConnectorTerminationCredentialsOutputWithContext

func (i *VoiceConnectorTerminationCredentials) ToVoiceConnectorTerminationCredentialsOutputWithContext(ctx context.Context) VoiceConnectorTerminationCredentialsOutput

type VoiceConnectorTerminationCredentialsArgs

type VoiceConnectorTerminationCredentialsArgs struct {
	// List of termination SIP credentials.
	Credentials VoiceConnectorTerminationCredentialsCredentialArrayInput
	// Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringInput
}

The set of arguments for constructing a VoiceConnectorTerminationCredentials resource.

func (VoiceConnectorTerminationCredentialsArgs) ElementType

type VoiceConnectorTerminationCredentialsArray

type VoiceConnectorTerminationCredentialsArray []VoiceConnectorTerminationCredentialsInput

func (VoiceConnectorTerminationCredentialsArray) ElementType

func (VoiceConnectorTerminationCredentialsArray) ToVoiceConnectorTerminationCredentialsArrayOutput

func (i VoiceConnectorTerminationCredentialsArray) ToVoiceConnectorTerminationCredentialsArrayOutput() VoiceConnectorTerminationCredentialsArrayOutput

func (VoiceConnectorTerminationCredentialsArray) ToVoiceConnectorTerminationCredentialsArrayOutputWithContext

func (i VoiceConnectorTerminationCredentialsArray) ToVoiceConnectorTerminationCredentialsArrayOutputWithContext(ctx context.Context) VoiceConnectorTerminationCredentialsArrayOutput

type VoiceConnectorTerminationCredentialsArrayInput

type VoiceConnectorTerminationCredentialsArrayInput interface {
	pulumi.Input

	ToVoiceConnectorTerminationCredentialsArrayOutput() VoiceConnectorTerminationCredentialsArrayOutput
	ToVoiceConnectorTerminationCredentialsArrayOutputWithContext(context.Context) VoiceConnectorTerminationCredentialsArrayOutput
}

VoiceConnectorTerminationCredentialsArrayInput is an input type that accepts VoiceConnectorTerminationCredentialsArray and VoiceConnectorTerminationCredentialsArrayOutput values. You can construct a concrete instance of `VoiceConnectorTerminationCredentialsArrayInput` via:

VoiceConnectorTerminationCredentialsArray{ VoiceConnectorTerminationCredentialsArgs{...} }

type VoiceConnectorTerminationCredentialsArrayOutput

type VoiceConnectorTerminationCredentialsArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationCredentialsArrayOutput) ElementType

func (VoiceConnectorTerminationCredentialsArrayOutput) Index

func (VoiceConnectorTerminationCredentialsArrayOutput) ToVoiceConnectorTerminationCredentialsArrayOutput

func (o VoiceConnectorTerminationCredentialsArrayOutput) ToVoiceConnectorTerminationCredentialsArrayOutput() VoiceConnectorTerminationCredentialsArrayOutput

func (VoiceConnectorTerminationCredentialsArrayOutput) ToVoiceConnectorTerminationCredentialsArrayOutputWithContext

func (o VoiceConnectorTerminationCredentialsArrayOutput) ToVoiceConnectorTerminationCredentialsArrayOutputWithContext(ctx context.Context) VoiceConnectorTerminationCredentialsArrayOutput

type VoiceConnectorTerminationCredentialsCredential

type VoiceConnectorTerminationCredentialsCredential struct {
	// RFC2617 compliant password associated with the SIP credentials.
	Password string `pulumi:"password"`
	// RFC2617 compliant username associated with the SIP credentials.
	Username string `pulumi:"username"`
}

type VoiceConnectorTerminationCredentialsCredentialArgs

type VoiceConnectorTerminationCredentialsCredentialArgs struct {
	// RFC2617 compliant password associated with the SIP credentials.
	Password pulumi.StringInput `pulumi:"password"`
	// RFC2617 compliant username associated with the SIP credentials.
	Username pulumi.StringInput `pulumi:"username"`
}

func (VoiceConnectorTerminationCredentialsCredentialArgs) ElementType

func (VoiceConnectorTerminationCredentialsCredentialArgs) ToVoiceConnectorTerminationCredentialsCredentialOutput

func (i VoiceConnectorTerminationCredentialsCredentialArgs) ToVoiceConnectorTerminationCredentialsCredentialOutput() VoiceConnectorTerminationCredentialsCredentialOutput

func (VoiceConnectorTerminationCredentialsCredentialArgs) ToVoiceConnectorTerminationCredentialsCredentialOutputWithContext

func (i VoiceConnectorTerminationCredentialsCredentialArgs) ToVoiceConnectorTerminationCredentialsCredentialOutputWithContext(ctx context.Context) VoiceConnectorTerminationCredentialsCredentialOutput

type VoiceConnectorTerminationCredentialsCredentialArray

type VoiceConnectorTerminationCredentialsCredentialArray []VoiceConnectorTerminationCredentialsCredentialInput

func (VoiceConnectorTerminationCredentialsCredentialArray) ElementType

func (VoiceConnectorTerminationCredentialsCredentialArray) ToVoiceConnectorTerminationCredentialsCredentialArrayOutput

func (i VoiceConnectorTerminationCredentialsCredentialArray) ToVoiceConnectorTerminationCredentialsCredentialArrayOutput() VoiceConnectorTerminationCredentialsCredentialArrayOutput

func (VoiceConnectorTerminationCredentialsCredentialArray) ToVoiceConnectorTerminationCredentialsCredentialArrayOutputWithContext

func (i VoiceConnectorTerminationCredentialsCredentialArray) ToVoiceConnectorTerminationCredentialsCredentialArrayOutputWithContext(ctx context.Context) VoiceConnectorTerminationCredentialsCredentialArrayOutput

type VoiceConnectorTerminationCredentialsCredentialArrayInput

type VoiceConnectorTerminationCredentialsCredentialArrayInput interface {
	pulumi.Input

	ToVoiceConnectorTerminationCredentialsCredentialArrayOutput() VoiceConnectorTerminationCredentialsCredentialArrayOutput
	ToVoiceConnectorTerminationCredentialsCredentialArrayOutputWithContext(context.Context) VoiceConnectorTerminationCredentialsCredentialArrayOutput
}

VoiceConnectorTerminationCredentialsCredentialArrayInput is an input type that accepts VoiceConnectorTerminationCredentialsCredentialArray and VoiceConnectorTerminationCredentialsCredentialArrayOutput values. You can construct a concrete instance of `VoiceConnectorTerminationCredentialsCredentialArrayInput` via:

VoiceConnectorTerminationCredentialsCredentialArray{ VoiceConnectorTerminationCredentialsCredentialArgs{...} }

type VoiceConnectorTerminationCredentialsCredentialArrayOutput

type VoiceConnectorTerminationCredentialsCredentialArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationCredentialsCredentialArrayOutput) ElementType

func (VoiceConnectorTerminationCredentialsCredentialArrayOutput) Index

func (VoiceConnectorTerminationCredentialsCredentialArrayOutput) ToVoiceConnectorTerminationCredentialsCredentialArrayOutput

func (VoiceConnectorTerminationCredentialsCredentialArrayOutput) ToVoiceConnectorTerminationCredentialsCredentialArrayOutputWithContext

func (o VoiceConnectorTerminationCredentialsCredentialArrayOutput) ToVoiceConnectorTerminationCredentialsCredentialArrayOutputWithContext(ctx context.Context) VoiceConnectorTerminationCredentialsCredentialArrayOutput

type VoiceConnectorTerminationCredentialsCredentialInput

type VoiceConnectorTerminationCredentialsCredentialInput interface {
	pulumi.Input

	ToVoiceConnectorTerminationCredentialsCredentialOutput() VoiceConnectorTerminationCredentialsCredentialOutput
	ToVoiceConnectorTerminationCredentialsCredentialOutputWithContext(context.Context) VoiceConnectorTerminationCredentialsCredentialOutput
}

VoiceConnectorTerminationCredentialsCredentialInput is an input type that accepts VoiceConnectorTerminationCredentialsCredentialArgs and VoiceConnectorTerminationCredentialsCredentialOutput values. You can construct a concrete instance of `VoiceConnectorTerminationCredentialsCredentialInput` via:

VoiceConnectorTerminationCredentialsCredentialArgs{...}

type VoiceConnectorTerminationCredentialsCredentialOutput

type VoiceConnectorTerminationCredentialsCredentialOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationCredentialsCredentialOutput) ElementType

func (VoiceConnectorTerminationCredentialsCredentialOutput) Password

RFC2617 compliant password associated with the SIP credentials.

func (VoiceConnectorTerminationCredentialsCredentialOutput) ToVoiceConnectorTerminationCredentialsCredentialOutput

func (VoiceConnectorTerminationCredentialsCredentialOutput) ToVoiceConnectorTerminationCredentialsCredentialOutputWithContext

func (o VoiceConnectorTerminationCredentialsCredentialOutput) ToVoiceConnectorTerminationCredentialsCredentialOutputWithContext(ctx context.Context) VoiceConnectorTerminationCredentialsCredentialOutput

func (VoiceConnectorTerminationCredentialsCredentialOutput) Username

RFC2617 compliant username associated with the SIP credentials.

type VoiceConnectorTerminationCredentialsInput

type VoiceConnectorTerminationCredentialsInput interface {
	pulumi.Input

	ToVoiceConnectorTerminationCredentialsOutput() VoiceConnectorTerminationCredentialsOutput
	ToVoiceConnectorTerminationCredentialsOutputWithContext(ctx context.Context) VoiceConnectorTerminationCredentialsOutput
}

type VoiceConnectorTerminationCredentialsMap

type VoiceConnectorTerminationCredentialsMap map[string]VoiceConnectorTerminationCredentialsInput

func (VoiceConnectorTerminationCredentialsMap) ElementType

func (VoiceConnectorTerminationCredentialsMap) ToVoiceConnectorTerminationCredentialsMapOutput

func (i VoiceConnectorTerminationCredentialsMap) ToVoiceConnectorTerminationCredentialsMapOutput() VoiceConnectorTerminationCredentialsMapOutput

func (VoiceConnectorTerminationCredentialsMap) ToVoiceConnectorTerminationCredentialsMapOutputWithContext

func (i VoiceConnectorTerminationCredentialsMap) ToVoiceConnectorTerminationCredentialsMapOutputWithContext(ctx context.Context) VoiceConnectorTerminationCredentialsMapOutput

type VoiceConnectorTerminationCredentialsMapInput

type VoiceConnectorTerminationCredentialsMapInput interface {
	pulumi.Input

	ToVoiceConnectorTerminationCredentialsMapOutput() VoiceConnectorTerminationCredentialsMapOutput
	ToVoiceConnectorTerminationCredentialsMapOutputWithContext(context.Context) VoiceConnectorTerminationCredentialsMapOutput
}

VoiceConnectorTerminationCredentialsMapInput is an input type that accepts VoiceConnectorTerminationCredentialsMap and VoiceConnectorTerminationCredentialsMapOutput values. You can construct a concrete instance of `VoiceConnectorTerminationCredentialsMapInput` via:

VoiceConnectorTerminationCredentialsMap{ "key": VoiceConnectorTerminationCredentialsArgs{...} }

type VoiceConnectorTerminationCredentialsMapOutput

type VoiceConnectorTerminationCredentialsMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationCredentialsMapOutput) ElementType

func (VoiceConnectorTerminationCredentialsMapOutput) MapIndex

func (VoiceConnectorTerminationCredentialsMapOutput) ToVoiceConnectorTerminationCredentialsMapOutput

func (o VoiceConnectorTerminationCredentialsMapOutput) ToVoiceConnectorTerminationCredentialsMapOutput() VoiceConnectorTerminationCredentialsMapOutput

func (VoiceConnectorTerminationCredentialsMapOutput) ToVoiceConnectorTerminationCredentialsMapOutputWithContext

func (o VoiceConnectorTerminationCredentialsMapOutput) ToVoiceConnectorTerminationCredentialsMapOutputWithContext(ctx context.Context) VoiceConnectorTerminationCredentialsMapOutput

type VoiceConnectorTerminationCredentialsOutput

type VoiceConnectorTerminationCredentialsOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationCredentialsOutput) Credentials

List of termination SIP credentials.

func (VoiceConnectorTerminationCredentialsOutput) ElementType

func (VoiceConnectorTerminationCredentialsOutput) ToVoiceConnectorTerminationCredentialsOutput

func (o VoiceConnectorTerminationCredentialsOutput) ToVoiceConnectorTerminationCredentialsOutput() VoiceConnectorTerminationCredentialsOutput

func (VoiceConnectorTerminationCredentialsOutput) ToVoiceConnectorTerminationCredentialsOutputWithContext

func (o VoiceConnectorTerminationCredentialsOutput) ToVoiceConnectorTerminationCredentialsOutputWithContext(ctx context.Context) VoiceConnectorTerminationCredentialsOutput

func (VoiceConnectorTerminationCredentialsOutput) VoiceConnectorId

Amazon Chime Voice Connector ID.

type VoiceConnectorTerminationCredentialsState

type VoiceConnectorTerminationCredentialsState struct {
	// List of termination SIP credentials.
	Credentials VoiceConnectorTerminationCredentialsCredentialArrayInput
	// Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringPtrInput
}

func (VoiceConnectorTerminationCredentialsState) ElementType

type VoiceConnectorTerminationInput

type VoiceConnectorTerminationInput interface {
	pulumi.Input

	ToVoiceConnectorTerminationOutput() VoiceConnectorTerminationOutput
	ToVoiceConnectorTerminationOutputWithContext(ctx context.Context) VoiceConnectorTerminationOutput
}

type VoiceConnectorTerminationMap

type VoiceConnectorTerminationMap map[string]VoiceConnectorTerminationInput

func (VoiceConnectorTerminationMap) ElementType

func (VoiceConnectorTerminationMap) ToVoiceConnectorTerminationMapOutput

func (i VoiceConnectorTerminationMap) ToVoiceConnectorTerminationMapOutput() VoiceConnectorTerminationMapOutput

func (VoiceConnectorTerminationMap) ToVoiceConnectorTerminationMapOutputWithContext

func (i VoiceConnectorTerminationMap) ToVoiceConnectorTerminationMapOutputWithContext(ctx context.Context) VoiceConnectorTerminationMapOutput

type VoiceConnectorTerminationMapInput

type VoiceConnectorTerminationMapInput interface {
	pulumi.Input

	ToVoiceConnectorTerminationMapOutput() VoiceConnectorTerminationMapOutput
	ToVoiceConnectorTerminationMapOutputWithContext(context.Context) VoiceConnectorTerminationMapOutput
}

VoiceConnectorTerminationMapInput is an input type that accepts VoiceConnectorTerminationMap and VoiceConnectorTerminationMapOutput values. You can construct a concrete instance of `VoiceConnectorTerminationMapInput` via:

VoiceConnectorTerminationMap{ "key": VoiceConnectorTerminationArgs{...} }

type VoiceConnectorTerminationMapOutput

type VoiceConnectorTerminationMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationMapOutput) ElementType

func (VoiceConnectorTerminationMapOutput) MapIndex

func (VoiceConnectorTerminationMapOutput) ToVoiceConnectorTerminationMapOutput

func (o VoiceConnectorTerminationMapOutput) ToVoiceConnectorTerminationMapOutput() VoiceConnectorTerminationMapOutput

func (VoiceConnectorTerminationMapOutput) ToVoiceConnectorTerminationMapOutputWithContext

func (o VoiceConnectorTerminationMapOutput) ToVoiceConnectorTerminationMapOutputWithContext(ctx context.Context) VoiceConnectorTerminationMapOutput

type VoiceConnectorTerminationOutput

type VoiceConnectorTerminationOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationOutput) CallingRegions

The countries to which calls are allowed, in ISO 3166-1 alpha-2 format.

func (VoiceConnectorTerminationOutput) CidrAllowLists

The IP addresses allowed to make calls, in CIDR format.

func (VoiceConnectorTerminationOutput) CpsLimit

The limit on calls per second. Max value based on account service quota. Default value of `1`.

func (VoiceConnectorTerminationOutput) DefaultPhoneNumber

The default caller ID phone number.

func (VoiceConnectorTerminationOutput) Disabled

When termination settings are disabled, outbound calls can not be made.

func (VoiceConnectorTerminationOutput) ElementType

func (VoiceConnectorTerminationOutput) ToVoiceConnectorTerminationOutput

func (o VoiceConnectorTerminationOutput) ToVoiceConnectorTerminationOutput() VoiceConnectorTerminationOutput

func (VoiceConnectorTerminationOutput) ToVoiceConnectorTerminationOutputWithContext

func (o VoiceConnectorTerminationOutput) ToVoiceConnectorTerminationOutputWithContext(ctx context.Context) VoiceConnectorTerminationOutput

func (VoiceConnectorTerminationOutput) VoiceConnectorId

The Amazon Chime Voice Connector ID.

type VoiceConnectorTerminationState

type VoiceConnectorTerminationState struct {
	// The countries to which calls are allowed, in ISO 3166-1 alpha-2 format.
	CallingRegions pulumi.StringArrayInput
	// The IP addresses allowed to make calls, in CIDR format.
	CidrAllowLists pulumi.StringArrayInput
	// The limit on calls per second. Max value based on account service quota. Default value of `1`.
	CpsLimit pulumi.IntPtrInput
	// The default caller ID phone number.
	DefaultPhoneNumber pulumi.StringPtrInput
	// When termination settings are disabled, outbound calls can not be made.
	Disabled pulumi.BoolPtrInput
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringPtrInput
}

func (VoiceConnectorTerminationState) ElementType

Jump to

Keyboard shortcuts

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