Terraform resource for managing an AWS Chime SDK Voice Profile Domain.
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"
}
}
The following arguments are required:
name
- (Required) Name of Voice Profile Domain.server_side_encryption_configuration
- (Required) Configuration for server side encryption.
kms_key_arn
- (Required) ARN for KMS Key.The following arguments are optional:
description
- (Optional) Description of Voice Profile Domain.This resource exports the following attributes in addition to the arguments above:
arn
- ARN of the Voice Profile Domain.id
- ID of the Voice Profile Domain.create
- (Default 30s
)update
- (Default 30s
)delete
- (Default 30s
)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