chime

package
v4.37.3 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 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 VoiceConnector

type VoiceConnector struct {
	pulumi.CustomResourceState

	// 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.
	RequireEncryption pulumi.BoolOutput `pulumi:"requireEncryption"`
}

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/v4/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

Configuration Recorder can be imported using the name, e.g.,

```sh

$ pulumi import aws:chime/voiceConnector:VoiceConnector 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.
	RequireEncryption pulumi.BoolInput
}

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 added in v4.17.0

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/v4/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

Configuration Recorder can be imported using the name, e.g.,

```sh

$ pulumi import aws:chime/voiceConnectorGroup:VoiceConnectorGroup default example

```

func GetVoiceConnectorGroup added in v4.17.0

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 added in v4.17.0

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 added in v4.17.0

func (*VoiceConnectorGroup) ElementType() reflect.Type

func (*VoiceConnectorGroup) ToVoiceConnectorGroupOutput added in v4.17.0

func (i *VoiceConnectorGroup) ToVoiceConnectorGroupOutput() VoiceConnectorGroupOutput

func (*VoiceConnectorGroup) ToVoiceConnectorGroupOutputWithContext added in v4.17.0

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

type VoiceConnectorGroupArgs added in v4.17.0

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 added in v4.17.0

func (VoiceConnectorGroupArgs) ElementType() reflect.Type

type VoiceConnectorGroupArray added in v4.17.0

type VoiceConnectorGroupArray []VoiceConnectorGroupInput

func (VoiceConnectorGroupArray) ElementType added in v4.17.0

func (VoiceConnectorGroupArray) ElementType() reflect.Type

func (VoiceConnectorGroupArray) ToVoiceConnectorGroupArrayOutput added in v4.17.0

func (i VoiceConnectorGroupArray) ToVoiceConnectorGroupArrayOutput() VoiceConnectorGroupArrayOutput

func (VoiceConnectorGroupArray) ToVoiceConnectorGroupArrayOutputWithContext added in v4.17.0

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

type VoiceConnectorGroupArrayInput added in v4.17.0

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 added in v4.17.0

type VoiceConnectorGroupArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorGroupArrayOutput) ElementType added in v4.17.0

func (VoiceConnectorGroupArrayOutput) Index added in v4.17.0

func (VoiceConnectorGroupArrayOutput) ToVoiceConnectorGroupArrayOutput added in v4.17.0

func (o VoiceConnectorGroupArrayOutput) ToVoiceConnectorGroupArrayOutput() VoiceConnectorGroupArrayOutput

func (VoiceConnectorGroupArrayOutput) ToVoiceConnectorGroupArrayOutputWithContext added in v4.17.0

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

type VoiceConnectorGroupConnector added in v4.17.0

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 added in v4.17.0

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 added in v4.17.0

func (VoiceConnectorGroupConnectorArgs) ToVoiceConnectorGroupConnectorOutput added in v4.17.0

func (i VoiceConnectorGroupConnectorArgs) ToVoiceConnectorGroupConnectorOutput() VoiceConnectorGroupConnectorOutput

func (VoiceConnectorGroupConnectorArgs) ToVoiceConnectorGroupConnectorOutputWithContext added in v4.17.0

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

type VoiceConnectorGroupConnectorArray added in v4.17.0

type VoiceConnectorGroupConnectorArray []VoiceConnectorGroupConnectorInput

func (VoiceConnectorGroupConnectorArray) ElementType added in v4.17.0

func (VoiceConnectorGroupConnectorArray) ToVoiceConnectorGroupConnectorArrayOutput added in v4.17.0

func (i VoiceConnectorGroupConnectorArray) ToVoiceConnectorGroupConnectorArrayOutput() VoiceConnectorGroupConnectorArrayOutput

func (VoiceConnectorGroupConnectorArray) ToVoiceConnectorGroupConnectorArrayOutputWithContext added in v4.17.0

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

type VoiceConnectorGroupConnectorArrayInput added in v4.17.0

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 added in v4.17.0

type VoiceConnectorGroupConnectorArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorGroupConnectorArrayOutput) ElementType added in v4.17.0

func (VoiceConnectorGroupConnectorArrayOutput) Index added in v4.17.0

func (VoiceConnectorGroupConnectorArrayOutput) ToVoiceConnectorGroupConnectorArrayOutput added in v4.17.0

func (o VoiceConnectorGroupConnectorArrayOutput) ToVoiceConnectorGroupConnectorArrayOutput() VoiceConnectorGroupConnectorArrayOutput

func (VoiceConnectorGroupConnectorArrayOutput) ToVoiceConnectorGroupConnectorArrayOutputWithContext added in v4.17.0

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

type VoiceConnectorGroupConnectorInput added in v4.17.0

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 added in v4.17.0

type VoiceConnectorGroupConnectorOutput struct{ *pulumi.OutputState }

func (VoiceConnectorGroupConnectorOutput) ElementType added in v4.17.0

func (VoiceConnectorGroupConnectorOutput) Priority added in v4.17.0

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 added in v4.17.0

func (o VoiceConnectorGroupConnectorOutput) ToVoiceConnectorGroupConnectorOutput() VoiceConnectorGroupConnectorOutput

func (VoiceConnectorGroupConnectorOutput) ToVoiceConnectorGroupConnectorOutputWithContext added in v4.17.0

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

func (VoiceConnectorGroupConnectorOutput) VoiceConnectorId added in v4.17.0

The Amazon Chime Voice Connector ID.

type VoiceConnectorGroupInput added in v4.17.0

type VoiceConnectorGroupInput interface {
	pulumi.Input

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

type VoiceConnectorGroupMap added in v4.17.0

type VoiceConnectorGroupMap map[string]VoiceConnectorGroupInput

func (VoiceConnectorGroupMap) ElementType added in v4.17.0

func (VoiceConnectorGroupMap) ElementType() reflect.Type

func (VoiceConnectorGroupMap) ToVoiceConnectorGroupMapOutput added in v4.17.0

func (i VoiceConnectorGroupMap) ToVoiceConnectorGroupMapOutput() VoiceConnectorGroupMapOutput

func (VoiceConnectorGroupMap) ToVoiceConnectorGroupMapOutputWithContext added in v4.17.0

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

type VoiceConnectorGroupMapInput added in v4.17.0

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 added in v4.17.0

type VoiceConnectorGroupMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorGroupMapOutput) ElementType added in v4.17.0

func (VoiceConnectorGroupMapOutput) MapIndex added in v4.17.0

func (VoiceConnectorGroupMapOutput) ToVoiceConnectorGroupMapOutput added in v4.17.0

func (o VoiceConnectorGroupMapOutput) ToVoiceConnectorGroupMapOutput() VoiceConnectorGroupMapOutput

func (VoiceConnectorGroupMapOutput) ToVoiceConnectorGroupMapOutputWithContext added in v4.17.0

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

type VoiceConnectorGroupOutput added in v4.17.0

type VoiceConnectorGroupOutput struct{ *pulumi.OutputState }

func (VoiceConnectorGroupOutput) ElementType added in v4.17.0

func (VoiceConnectorGroupOutput) ElementType() reflect.Type

func (VoiceConnectorGroupOutput) ToVoiceConnectorGroupOutput added in v4.17.0

func (o VoiceConnectorGroupOutput) ToVoiceConnectorGroupOutput() VoiceConnectorGroupOutput

func (VoiceConnectorGroupOutput) ToVoiceConnectorGroupOutputWithContext added in v4.17.0

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

type VoiceConnectorGroupState added in v4.17.0

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 added in v4.17.0

func (VoiceConnectorGroupState) ElementType() reflect.Type

type VoiceConnectorInput

type VoiceConnectorInput interface {
	pulumi.Input

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

type VoiceConnectorLogging added in v4.21.0

type VoiceConnectorLogging struct {
	pulumi.CustomResourceState

	// 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/v4/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),
			VoiceConnectorId: defaultVoiceConnector.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Chime Voice Connector Logging can be imported using the `voice_connector_id`, e.g.,

```sh

$ pulumi import aws:chime/voiceConnectorLogging:VoiceConnectorLogging default abcdef1ghij2klmno3pqr4

```

func GetVoiceConnectorLogging added in v4.21.0

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 added in v4.21.0

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 added in v4.21.0

func (*VoiceConnectorLogging) ElementType() reflect.Type

func (*VoiceConnectorLogging) ToVoiceConnectorLoggingOutput added in v4.21.0

func (i *VoiceConnectorLogging) ToVoiceConnectorLoggingOutput() VoiceConnectorLoggingOutput

func (*VoiceConnectorLogging) ToVoiceConnectorLoggingOutputWithContext added in v4.21.0

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

type VoiceConnectorLoggingArgs added in v4.21.0

type VoiceConnectorLoggingArgs struct {
	// 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 added in v4.21.0

func (VoiceConnectorLoggingArgs) ElementType() reflect.Type

type VoiceConnectorLoggingArray added in v4.21.0

type VoiceConnectorLoggingArray []VoiceConnectorLoggingInput

func (VoiceConnectorLoggingArray) ElementType added in v4.21.0

func (VoiceConnectorLoggingArray) ElementType() reflect.Type

func (VoiceConnectorLoggingArray) ToVoiceConnectorLoggingArrayOutput added in v4.21.0

func (i VoiceConnectorLoggingArray) ToVoiceConnectorLoggingArrayOutput() VoiceConnectorLoggingArrayOutput

func (VoiceConnectorLoggingArray) ToVoiceConnectorLoggingArrayOutputWithContext added in v4.21.0

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

type VoiceConnectorLoggingArrayInput added in v4.21.0

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 added in v4.21.0

type VoiceConnectorLoggingArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorLoggingArrayOutput) ElementType added in v4.21.0

func (VoiceConnectorLoggingArrayOutput) Index added in v4.21.0

func (VoiceConnectorLoggingArrayOutput) ToVoiceConnectorLoggingArrayOutput added in v4.21.0

func (o VoiceConnectorLoggingArrayOutput) ToVoiceConnectorLoggingArrayOutput() VoiceConnectorLoggingArrayOutput

func (VoiceConnectorLoggingArrayOutput) ToVoiceConnectorLoggingArrayOutputWithContext added in v4.21.0

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

type VoiceConnectorLoggingInput added in v4.21.0

type VoiceConnectorLoggingInput interface {
	pulumi.Input

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

type VoiceConnectorLoggingMap added in v4.21.0

type VoiceConnectorLoggingMap map[string]VoiceConnectorLoggingInput

func (VoiceConnectorLoggingMap) ElementType added in v4.21.0

func (VoiceConnectorLoggingMap) ElementType() reflect.Type

func (VoiceConnectorLoggingMap) ToVoiceConnectorLoggingMapOutput added in v4.21.0

func (i VoiceConnectorLoggingMap) ToVoiceConnectorLoggingMapOutput() VoiceConnectorLoggingMapOutput

func (VoiceConnectorLoggingMap) ToVoiceConnectorLoggingMapOutputWithContext added in v4.21.0

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

type VoiceConnectorLoggingMapInput added in v4.21.0

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 added in v4.21.0

type VoiceConnectorLoggingMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorLoggingMapOutput) ElementType added in v4.21.0

func (VoiceConnectorLoggingMapOutput) MapIndex added in v4.21.0

func (VoiceConnectorLoggingMapOutput) ToVoiceConnectorLoggingMapOutput added in v4.21.0

func (o VoiceConnectorLoggingMapOutput) ToVoiceConnectorLoggingMapOutput() VoiceConnectorLoggingMapOutput

func (VoiceConnectorLoggingMapOutput) ToVoiceConnectorLoggingMapOutputWithContext added in v4.21.0

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

type VoiceConnectorLoggingOutput added in v4.21.0

type VoiceConnectorLoggingOutput struct{ *pulumi.OutputState }

func (VoiceConnectorLoggingOutput) ElementType added in v4.21.0

func (VoiceConnectorLoggingOutput) ToVoiceConnectorLoggingOutput added in v4.21.0

func (o VoiceConnectorLoggingOutput) ToVoiceConnectorLoggingOutput() VoiceConnectorLoggingOutput

func (VoiceConnectorLoggingOutput) ToVoiceConnectorLoggingOutputWithContext added in v4.21.0

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

type VoiceConnectorLoggingState added in v4.21.0

type VoiceConnectorLoggingState struct {
	// 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 added in v4.21.0

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 added in v4.20.0

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/v4/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

Chime Voice Connector Origination can be imported using the `voice_connector_id`, e.g.,

```sh

$ pulumi import aws:chime/voiceConnectorOrganization:VoiceConnectorOrganization default abcdef1ghij2klmno3pqr4

```

func GetVoiceConnectorOrganization added in v4.20.0

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 added in v4.20.0

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 added in v4.20.0

func (*VoiceConnectorOrganization) ElementType() reflect.Type

func (*VoiceConnectorOrganization) ToVoiceConnectorOrganizationOutput added in v4.20.0

func (i *VoiceConnectorOrganization) ToVoiceConnectorOrganizationOutput() VoiceConnectorOrganizationOutput

func (*VoiceConnectorOrganization) ToVoiceConnectorOrganizationOutputWithContext added in v4.20.0

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

type VoiceConnectorOrganizationArgs added in v4.20.0

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 added in v4.20.0

type VoiceConnectorOrganizationArray added in v4.20.0

type VoiceConnectorOrganizationArray []VoiceConnectorOrganizationInput

func (VoiceConnectorOrganizationArray) ElementType added in v4.20.0

func (VoiceConnectorOrganizationArray) ToVoiceConnectorOrganizationArrayOutput added in v4.20.0

func (i VoiceConnectorOrganizationArray) ToVoiceConnectorOrganizationArrayOutput() VoiceConnectorOrganizationArrayOutput

func (VoiceConnectorOrganizationArray) ToVoiceConnectorOrganizationArrayOutputWithContext added in v4.20.0

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

type VoiceConnectorOrganizationArrayInput added in v4.20.0

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 added in v4.20.0

type VoiceConnectorOrganizationArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorOrganizationArrayOutput) ElementType added in v4.20.0

func (VoiceConnectorOrganizationArrayOutput) Index added in v4.20.0

func (VoiceConnectorOrganizationArrayOutput) ToVoiceConnectorOrganizationArrayOutput added in v4.20.0

func (o VoiceConnectorOrganizationArrayOutput) ToVoiceConnectorOrganizationArrayOutput() VoiceConnectorOrganizationArrayOutput

func (VoiceConnectorOrganizationArrayOutput) ToVoiceConnectorOrganizationArrayOutputWithContext added in v4.20.0

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

type VoiceConnectorOrganizationInput added in v4.20.0

type VoiceConnectorOrganizationInput interface {
	pulumi.Input

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

type VoiceConnectorOrganizationMap added in v4.20.0

type VoiceConnectorOrganizationMap map[string]VoiceConnectorOrganizationInput

func (VoiceConnectorOrganizationMap) ElementType added in v4.20.0

func (VoiceConnectorOrganizationMap) ToVoiceConnectorOrganizationMapOutput added in v4.20.0

func (i VoiceConnectorOrganizationMap) ToVoiceConnectorOrganizationMapOutput() VoiceConnectorOrganizationMapOutput

func (VoiceConnectorOrganizationMap) ToVoiceConnectorOrganizationMapOutputWithContext added in v4.20.0

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

type VoiceConnectorOrganizationMapInput added in v4.20.0

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 added in v4.20.0

type VoiceConnectorOrganizationMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorOrganizationMapOutput) ElementType added in v4.20.0

func (VoiceConnectorOrganizationMapOutput) MapIndex added in v4.20.0

func (VoiceConnectorOrganizationMapOutput) ToVoiceConnectorOrganizationMapOutput added in v4.20.0

func (o VoiceConnectorOrganizationMapOutput) ToVoiceConnectorOrganizationMapOutput() VoiceConnectorOrganizationMapOutput

func (VoiceConnectorOrganizationMapOutput) ToVoiceConnectorOrganizationMapOutputWithContext added in v4.20.0

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

type VoiceConnectorOrganizationOutput added in v4.20.0

type VoiceConnectorOrganizationOutput struct{ *pulumi.OutputState }

func (VoiceConnectorOrganizationOutput) ElementType added in v4.20.0

func (VoiceConnectorOrganizationOutput) ToVoiceConnectorOrganizationOutput added in v4.20.0

func (o VoiceConnectorOrganizationOutput) ToVoiceConnectorOrganizationOutput() VoiceConnectorOrganizationOutput

func (VoiceConnectorOrganizationOutput) ToVoiceConnectorOrganizationOutputWithContext added in v4.20.0

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

type VoiceConnectorOrganizationRoute added in v4.20.0

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 added in v4.20.0

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 added in v4.20.0

func (VoiceConnectorOrganizationRouteArgs) ToVoiceConnectorOrganizationRouteOutput added in v4.20.0

func (i VoiceConnectorOrganizationRouteArgs) ToVoiceConnectorOrganizationRouteOutput() VoiceConnectorOrganizationRouteOutput

func (VoiceConnectorOrganizationRouteArgs) ToVoiceConnectorOrganizationRouteOutputWithContext added in v4.20.0

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

type VoiceConnectorOrganizationRouteArray added in v4.20.0

type VoiceConnectorOrganizationRouteArray []VoiceConnectorOrganizationRouteInput

func (VoiceConnectorOrganizationRouteArray) ElementType added in v4.20.0

func (VoiceConnectorOrganizationRouteArray) ToVoiceConnectorOrganizationRouteArrayOutput added in v4.20.0

func (i VoiceConnectorOrganizationRouteArray) ToVoiceConnectorOrganizationRouteArrayOutput() VoiceConnectorOrganizationRouteArrayOutput

func (VoiceConnectorOrganizationRouteArray) ToVoiceConnectorOrganizationRouteArrayOutputWithContext added in v4.20.0

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

type VoiceConnectorOrganizationRouteArrayInput added in v4.20.0

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 added in v4.20.0

type VoiceConnectorOrganizationRouteArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorOrganizationRouteArrayOutput) ElementType added in v4.20.0

func (VoiceConnectorOrganizationRouteArrayOutput) Index added in v4.20.0

func (VoiceConnectorOrganizationRouteArrayOutput) ToVoiceConnectorOrganizationRouteArrayOutput added in v4.20.0

func (o VoiceConnectorOrganizationRouteArrayOutput) ToVoiceConnectorOrganizationRouteArrayOutput() VoiceConnectorOrganizationRouteArrayOutput

func (VoiceConnectorOrganizationRouteArrayOutput) ToVoiceConnectorOrganizationRouteArrayOutputWithContext added in v4.20.0

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

type VoiceConnectorOrganizationRouteInput added in v4.20.0

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 added in v4.20.0

type VoiceConnectorOrganizationRouteOutput struct{ *pulumi.OutputState }

func (VoiceConnectorOrganizationRouteOutput) ElementType added in v4.20.0

func (VoiceConnectorOrganizationRouteOutput) Host added in v4.20.0

The FQDN or IP address to contact for origination traffic.

func (VoiceConnectorOrganizationRouteOutput) Port added in v4.20.0

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

func (VoiceConnectorOrganizationRouteOutput) Priority added in v4.20.0

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

func (VoiceConnectorOrganizationRouteOutput) Protocol added in v4.20.0

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

func (VoiceConnectorOrganizationRouteOutput) ToVoiceConnectorOrganizationRouteOutput added in v4.20.0

func (o VoiceConnectorOrganizationRouteOutput) ToVoiceConnectorOrganizationRouteOutput() VoiceConnectorOrganizationRouteOutput

func (VoiceConnectorOrganizationRouteOutput) ToVoiceConnectorOrganizationRouteOutputWithContext added in v4.20.0

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

func (VoiceConnectorOrganizationRouteOutput) Weight added in v4.20.0

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

type VoiceConnectorOrganizationState added in v4.20.0

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 added in v4.20.0

type VoiceConnectorOutput

type VoiceConnectorOutput struct{ *pulumi.OutputState }

func (VoiceConnectorOutput) ElementType

func (VoiceConnectorOutput) ElementType() reflect.Type

func (VoiceConnectorOutput) ToVoiceConnectorOutput

func (o VoiceConnectorOutput) ToVoiceConnectorOutput() VoiceConnectorOutput

func (VoiceConnectorOutput) ToVoiceConnectorOutputWithContext

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

type VoiceConnectorState

type VoiceConnectorState 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
	// The outbound host name for the Amazon Chime Voice Connector.
	OutboundHostName pulumi.StringPtrInput
	// When enabled, requires encryption for the Amazon Chime Voice Connector.
	RequireEncryption pulumi.BoolPtrInput
}

func (VoiceConnectorState) ElementType

func (VoiceConnectorState) ElementType() reflect.Type

type VoiceConnectorStreaming added in v4.22.0

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 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/v4/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
	})
}

```

## Import

Chime Voice Connector Streaming can be imported using the `voice_connector_id`, e.g.,

```sh

$ pulumi import aws:chime/voiceConnectorStreaming:VoiceConnectorStreaming default abcdef1ghij2klmno3pqr4

```

func GetVoiceConnectorStreaming added in v4.22.0

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 added in v4.22.0

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 added in v4.22.0

func (*VoiceConnectorStreaming) ElementType() reflect.Type

func (*VoiceConnectorStreaming) ToVoiceConnectorStreamingOutput added in v4.22.0

func (i *VoiceConnectorStreaming) ToVoiceConnectorStreamingOutput() VoiceConnectorStreamingOutput

func (*VoiceConnectorStreaming) ToVoiceConnectorStreamingOutputWithContext added in v4.22.0

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

type VoiceConnectorStreamingArgs added in v4.22.0

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 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 added in v4.22.0

type VoiceConnectorStreamingArray added in v4.22.0

type VoiceConnectorStreamingArray []VoiceConnectorStreamingInput

func (VoiceConnectorStreamingArray) ElementType added in v4.22.0

func (VoiceConnectorStreamingArray) ToVoiceConnectorStreamingArrayOutput added in v4.22.0

func (i VoiceConnectorStreamingArray) ToVoiceConnectorStreamingArrayOutput() VoiceConnectorStreamingArrayOutput

func (VoiceConnectorStreamingArray) ToVoiceConnectorStreamingArrayOutputWithContext added in v4.22.0

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

type VoiceConnectorStreamingArrayInput added in v4.22.0

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 added in v4.22.0

type VoiceConnectorStreamingArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorStreamingArrayOutput) ElementType added in v4.22.0

func (VoiceConnectorStreamingArrayOutput) Index added in v4.22.0

func (VoiceConnectorStreamingArrayOutput) ToVoiceConnectorStreamingArrayOutput added in v4.22.0

func (o VoiceConnectorStreamingArrayOutput) ToVoiceConnectorStreamingArrayOutput() VoiceConnectorStreamingArrayOutput

func (VoiceConnectorStreamingArrayOutput) ToVoiceConnectorStreamingArrayOutputWithContext added in v4.22.0

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

type VoiceConnectorStreamingInput added in v4.22.0

type VoiceConnectorStreamingInput interface {
	pulumi.Input

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

type VoiceConnectorStreamingMap added in v4.22.0

type VoiceConnectorStreamingMap map[string]VoiceConnectorStreamingInput

func (VoiceConnectorStreamingMap) ElementType added in v4.22.0

func (VoiceConnectorStreamingMap) ElementType() reflect.Type

func (VoiceConnectorStreamingMap) ToVoiceConnectorStreamingMapOutput added in v4.22.0

func (i VoiceConnectorStreamingMap) ToVoiceConnectorStreamingMapOutput() VoiceConnectorStreamingMapOutput

func (VoiceConnectorStreamingMap) ToVoiceConnectorStreamingMapOutputWithContext added in v4.22.0

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

type VoiceConnectorStreamingMapInput added in v4.22.0

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 added in v4.22.0

type VoiceConnectorStreamingMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorStreamingMapOutput) ElementType added in v4.22.0

func (VoiceConnectorStreamingMapOutput) MapIndex added in v4.22.0

func (VoiceConnectorStreamingMapOutput) ToVoiceConnectorStreamingMapOutput added in v4.22.0

func (o VoiceConnectorStreamingMapOutput) ToVoiceConnectorStreamingMapOutput() VoiceConnectorStreamingMapOutput

func (VoiceConnectorStreamingMapOutput) ToVoiceConnectorStreamingMapOutputWithContext added in v4.22.0

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

type VoiceConnectorStreamingOutput added in v4.22.0

type VoiceConnectorStreamingOutput struct{ *pulumi.OutputState }

func (VoiceConnectorStreamingOutput) ElementType added in v4.22.0

func (VoiceConnectorStreamingOutput) ToVoiceConnectorStreamingOutput added in v4.22.0

func (o VoiceConnectorStreamingOutput) ToVoiceConnectorStreamingOutput() VoiceConnectorStreamingOutput

func (VoiceConnectorStreamingOutput) ToVoiceConnectorStreamingOutputWithContext added in v4.22.0

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

type VoiceConnectorStreamingState added in v4.22.0

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 streaming notification targets. Valid Values: `EventBridge | SNS | SQS`
	StreamingNotificationTargets pulumi.StringArrayInput
	// The Amazon Chime Voice Connector ID.
	VoiceConnectorId pulumi.StringPtrInput
}

func (VoiceConnectorStreamingState) ElementType added in v4.22.0

type VoiceConnectorTermination added in v4.20.0

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/v4/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

Chime Voice Connector Termination can be imported using the `voice_connector_id`, e.g.,

```sh

$ pulumi import aws:chime/voiceConnectorTermination:VoiceConnectorTermination default abcdef1ghij2klmno3pqr4

```

func GetVoiceConnectorTermination added in v4.20.0

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 added in v4.20.0

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 added in v4.20.0

func (*VoiceConnectorTermination) ElementType() reflect.Type

func (*VoiceConnectorTermination) ToVoiceConnectorTerminationOutput added in v4.20.0

func (i *VoiceConnectorTermination) ToVoiceConnectorTerminationOutput() VoiceConnectorTerminationOutput

func (*VoiceConnectorTermination) ToVoiceConnectorTerminationOutputWithContext added in v4.20.0

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

type VoiceConnectorTerminationArgs added in v4.20.0

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 added in v4.20.0

type VoiceConnectorTerminationArray added in v4.20.0

type VoiceConnectorTerminationArray []VoiceConnectorTerminationInput

func (VoiceConnectorTerminationArray) ElementType added in v4.20.0

func (VoiceConnectorTerminationArray) ToVoiceConnectorTerminationArrayOutput added in v4.20.0

func (i VoiceConnectorTerminationArray) ToVoiceConnectorTerminationArrayOutput() VoiceConnectorTerminationArrayOutput

func (VoiceConnectorTerminationArray) ToVoiceConnectorTerminationArrayOutputWithContext added in v4.20.0

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

type VoiceConnectorTerminationArrayInput added in v4.20.0

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 added in v4.20.0

type VoiceConnectorTerminationArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationArrayOutput) ElementType added in v4.20.0

func (VoiceConnectorTerminationArrayOutput) Index added in v4.20.0

func (VoiceConnectorTerminationArrayOutput) ToVoiceConnectorTerminationArrayOutput added in v4.20.0

func (o VoiceConnectorTerminationArrayOutput) ToVoiceConnectorTerminationArrayOutput() VoiceConnectorTerminationArrayOutput

func (VoiceConnectorTerminationArrayOutput) ToVoiceConnectorTerminationArrayOutputWithContext added in v4.20.0

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

type VoiceConnectorTerminationCredentials added in v4.25.0

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/v4/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

Chime Voice Connector Termination Credentials can be imported using the `voice_connector_id`, e.g.,

```sh

$ pulumi import aws:chime/voiceConnectorTerminationCredentials:VoiceConnectorTerminationCredentials default abcdef1ghij2klmno3pqr4

```

func GetVoiceConnectorTerminationCredentials added in v4.25.0

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 added in v4.25.0

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 added in v4.25.0

func (*VoiceConnectorTerminationCredentials) ToVoiceConnectorTerminationCredentialsOutput added in v4.25.0

func (i *VoiceConnectorTerminationCredentials) ToVoiceConnectorTerminationCredentialsOutput() VoiceConnectorTerminationCredentialsOutput

func (*VoiceConnectorTerminationCredentials) ToVoiceConnectorTerminationCredentialsOutputWithContext added in v4.25.0

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

type VoiceConnectorTerminationCredentialsArgs added in v4.25.0

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 added in v4.25.0

type VoiceConnectorTerminationCredentialsArray added in v4.25.0

type VoiceConnectorTerminationCredentialsArray []VoiceConnectorTerminationCredentialsInput

func (VoiceConnectorTerminationCredentialsArray) ElementType added in v4.25.0

func (VoiceConnectorTerminationCredentialsArray) ToVoiceConnectorTerminationCredentialsArrayOutput added in v4.25.0

func (i VoiceConnectorTerminationCredentialsArray) ToVoiceConnectorTerminationCredentialsArrayOutput() VoiceConnectorTerminationCredentialsArrayOutput

func (VoiceConnectorTerminationCredentialsArray) ToVoiceConnectorTerminationCredentialsArrayOutputWithContext added in v4.25.0

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

type VoiceConnectorTerminationCredentialsArrayInput added in v4.25.0

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 added in v4.25.0

type VoiceConnectorTerminationCredentialsArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationCredentialsArrayOutput) ElementType added in v4.25.0

func (VoiceConnectorTerminationCredentialsArrayOutput) Index added in v4.25.0

func (VoiceConnectorTerminationCredentialsArrayOutput) ToVoiceConnectorTerminationCredentialsArrayOutput added in v4.25.0

func (o VoiceConnectorTerminationCredentialsArrayOutput) ToVoiceConnectorTerminationCredentialsArrayOutput() VoiceConnectorTerminationCredentialsArrayOutput

func (VoiceConnectorTerminationCredentialsArrayOutput) ToVoiceConnectorTerminationCredentialsArrayOutputWithContext added in v4.25.0

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

type VoiceConnectorTerminationCredentialsCredential added in v4.25.0

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 added in v4.25.0

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 added in v4.25.0

func (VoiceConnectorTerminationCredentialsCredentialArgs) ToVoiceConnectorTerminationCredentialsCredentialOutput added in v4.25.0

func (i VoiceConnectorTerminationCredentialsCredentialArgs) ToVoiceConnectorTerminationCredentialsCredentialOutput() VoiceConnectorTerminationCredentialsCredentialOutput

func (VoiceConnectorTerminationCredentialsCredentialArgs) ToVoiceConnectorTerminationCredentialsCredentialOutputWithContext added in v4.25.0

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

type VoiceConnectorTerminationCredentialsCredentialArray added in v4.25.0

type VoiceConnectorTerminationCredentialsCredentialArray []VoiceConnectorTerminationCredentialsCredentialInput

func (VoiceConnectorTerminationCredentialsCredentialArray) ElementType added in v4.25.0

func (VoiceConnectorTerminationCredentialsCredentialArray) ToVoiceConnectorTerminationCredentialsCredentialArrayOutput added in v4.25.0

func (i VoiceConnectorTerminationCredentialsCredentialArray) ToVoiceConnectorTerminationCredentialsCredentialArrayOutput() VoiceConnectorTerminationCredentialsCredentialArrayOutput

func (VoiceConnectorTerminationCredentialsCredentialArray) ToVoiceConnectorTerminationCredentialsCredentialArrayOutputWithContext added in v4.25.0

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

type VoiceConnectorTerminationCredentialsCredentialArrayInput added in v4.25.0

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 added in v4.25.0

type VoiceConnectorTerminationCredentialsCredentialArrayOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationCredentialsCredentialArrayOutput) ElementType added in v4.25.0

func (VoiceConnectorTerminationCredentialsCredentialArrayOutput) Index added in v4.25.0

func (VoiceConnectorTerminationCredentialsCredentialArrayOutput) ToVoiceConnectorTerminationCredentialsCredentialArrayOutput added in v4.25.0

func (VoiceConnectorTerminationCredentialsCredentialArrayOutput) ToVoiceConnectorTerminationCredentialsCredentialArrayOutputWithContext added in v4.25.0

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

type VoiceConnectorTerminationCredentialsCredentialInput added in v4.25.0

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 added in v4.25.0

type VoiceConnectorTerminationCredentialsCredentialOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationCredentialsCredentialOutput) ElementType added in v4.25.0

func (VoiceConnectorTerminationCredentialsCredentialOutput) Password added in v4.25.0

RFC2617 compliant password associated with the SIP credentials.

func (VoiceConnectorTerminationCredentialsCredentialOutput) ToVoiceConnectorTerminationCredentialsCredentialOutput added in v4.25.0

func (VoiceConnectorTerminationCredentialsCredentialOutput) ToVoiceConnectorTerminationCredentialsCredentialOutputWithContext added in v4.25.0

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

func (VoiceConnectorTerminationCredentialsCredentialOutput) Username added in v4.25.0

RFC2617 compliant username associated with the SIP credentials.

type VoiceConnectorTerminationCredentialsInput added in v4.25.0

type VoiceConnectorTerminationCredentialsInput interface {
	pulumi.Input

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

type VoiceConnectorTerminationCredentialsMap added in v4.25.0

type VoiceConnectorTerminationCredentialsMap map[string]VoiceConnectorTerminationCredentialsInput

func (VoiceConnectorTerminationCredentialsMap) ElementType added in v4.25.0

func (VoiceConnectorTerminationCredentialsMap) ToVoiceConnectorTerminationCredentialsMapOutput added in v4.25.0

func (i VoiceConnectorTerminationCredentialsMap) ToVoiceConnectorTerminationCredentialsMapOutput() VoiceConnectorTerminationCredentialsMapOutput

func (VoiceConnectorTerminationCredentialsMap) ToVoiceConnectorTerminationCredentialsMapOutputWithContext added in v4.25.0

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

type VoiceConnectorTerminationCredentialsMapInput added in v4.25.0

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 added in v4.25.0

type VoiceConnectorTerminationCredentialsMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationCredentialsMapOutput) ElementType added in v4.25.0

func (VoiceConnectorTerminationCredentialsMapOutput) MapIndex added in v4.25.0

func (VoiceConnectorTerminationCredentialsMapOutput) ToVoiceConnectorTerminationCredentialsMapOutput added in v4.25.0

func (o VoiceConnectorTerminationCredentialsMapOutput) ToVoiceConnectorTerminationCredentialsMapOutput() VoiceConnectorTerminationCredentialsMapOutput

func (VoiceConnectorTerminationCredentialsMapOutput) ToVoiceConnectorTerminationCredentialsMapOutputWithContext added in v4.25.0

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

type VoiceConnectorTerminationCredentialsOutput added in v4.25.0

type VoiceConnectorTerminationCredentialsOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationCredentialsOutput) ElementType added in v4.25.0

func (VoiceConnectorTerminationCredentialsOutput) ToVoiceConnectorTerminationCredentialsOutput added in v4.25.0

func (o VoiceConnectorTerminationCredentialsOutput) ToVoiceConnectorTerminationCredentialsOutput() VoiceConnectorTerminationCredentialsOutput

func (VoiceConnectorTerminationCredentialsOutput) ToVoiceConnectorTerminationCredentialsOutputWithContext added in v4.25.0

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

type VoiceConnectorTerminationCredentialsState added in v4.25.0

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

func (VoiceConnectorTerminationCredentialsState) ElementType added in v4.25.0

type VoiceConnectorTerminationInput added in v4.20.0

type VoiceConnectorTerminationInput interface {
	pulumi.Input

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

type VoiceConnectorTerminationMap added in v4.20.0

type VoiceConnectorTerminationMap map[string]VoiceConnectorTerminationInput

func (VoiceConnectorTerminationMap) ElementType added in v4.20.0

func (VoiceConnectorTerminationMap) ToVoiceConnectorTerminationMapOutput added in v4.20.0

func (i VoiceConnectorTerminationMap) ToVoiceConnectorTerminationMapOutput() VoiceConnectorTerminationMapOutput

func (VoiceConnectorTerminationMap) ToVoiceConnectorTerminationMapOutputWithContext added in v4.20.0

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

type VoiceConnectorTerminationMapInput added in v4.20.0

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 added in v4.20.0

type VoiceConnectorTerminationMapOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationMapOutput) ElementType added in v4.20.0

func (VoiceConnectorTerminationMapOutput) MapIndex added in v4.20.0

func (VoiceConnectorTerminationMapOutput) ToVoiceConnectorTerminationMapOutput added in v4.20.0

func (o VoiceConnectorTerminationMapOutput) ToVoiceConnectorTerminationMapOutput() VoiceConnectorTerminationMapOutput

func (VoiceConnectorTerminationMapOutput) ToVoiceConnectorTerminationMapOutputWithContext added in v4.20.0

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

type VoiceConnectorTerminationOutput added in v4.20.0

type VoiceConnectorTerminationOutput struct{ *pulumi.OutputState }

func (VoiceConnectorTerminationOutput) ElementType added in v4.20.0

func (VoiceConnectorTerminationOutput) ToVoiceConnectorTerminationOutput added in v4.20.0

func (o VoiceConnectorTerminationOutput) ToVoiceConnectorTerminationOutput() VoiceConnectorTerminationOutput

func (VoiceConnectorTerminationOutput) ToVoiceConnectorTerminationOutputWithContext added in v4.20.0

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

type VoiceConnectorTerminationState added in v4.20.0

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 added in v4.20.0

Jump to

Keyboard shortcuts

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