Skip to content

Resource: awsChimeVoiceConnectorGroup

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

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
const awsChimeVoiceConnectorVc1 =
  new aws.chimeVoiceConnector.ChimeVoiceConnector(this, "vc1", {
    awsRegion: "us-east-1",
    name: "connector-test-1",
    requireEncryption: true,
  });
const awsChimeVoiceConnectorVc2 =
  new aws.chimeVoiceConnector.ChimeVoiceConnector(this, "vc2", {
    awsRegion: "us-west-2",
    name: "connector-test-2",
    requireEncryption: true,
  });
new aws.chimeVoiceConnectorGroup.ChimeVoiceConnectorGroup(this, "group", {
  connector: [
    {
      priority: 1,
      voiceConnectorId: awsChimeVoiceConnectorVc1.id,
    },
    {
      priority: 3,
      voiceConnectorId: awsChimeVoiceConnectorVc2.id,
    },
  ],
  name: "test-group",
});

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the Amazon Chime Voice Connector group.
  • connector - (Optional) The Amazon Chime Voice Connectors to route inbound calls to.

connector

For Amazon Chime Voice Connector groups, the Amazon Chime Voice Connectors to which to route inbound calls. Includes priority configuration settings. Limit: 3 VoiceConnectorItems per Amazon Chime Voice Connector group.

  • voiceConnectorId - (Required) The Amazon Chime Voice Connector ID.
  • priority - (Required) The priority associated with the Amazon Chime Voice Connector, with 1 being the highest priority. Higher priority Amazon Chime Voice Connectors are attempted first.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - Amazon Chime Voice Connector group ID.

Import

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

$ terraform import aws_chime_voice_connector_group.default example