Resource: aws_chimesdkvoice_voice_profile_domain

Terraform resource for managing an AWS Chime SDK Voice Profile Domain.

Example Usage

Basic Usage

resource "aws_kms_key" "example" {
  description             = "KMS Key for Voice Profile Domain"
  deletion_window_in_days = 7
}

resource "aws_chimesdkvoice_voice_profile_domain" "example" {
  name = "ExampleVoiceProfileDomain"
  server_side_encryption_configuration {
    kms_key_arn = aws_kms_key.example.arn
  }
  description = "My Voice Profile Domain"
  tags = {
    key1 = "value1"
  }
}

Argument Reference

The following arguments are required:

The following arguments are optional:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import AWS Chime SDK Voice Profile Domain using the id. For example:

import {
  to = aws_chimesdkvoice_voice_profile_domain.example
  id = "abcdef123456"
}

Using terraform import, import AWS Chime SDK Voice Profile Domain using the id. For example:

% terraform import aws_chimesdkvoice_voice_profile_domain.example abcdef123456