Resource: aws_chime_voice_connector_logging

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

resource "aws_chime_voice_connector" "default" {
  name               = "vc-name-test"
  require_encryption = true
}

resource "aws_chime_voice_connector_logging" "default" {
  enable_sip_logs          = true
  enable_media_metric_logs = true
  voice_connector_id       = aws_chime_voice_connector.default.id
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

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

Import

In Terraform v1.5.0 and later, use an import block to import Chime Voice Connector Logging using the voice_connector_id. For example:

import {
  to = aws_chime_voice_connector_logging.default
  id = "abcdef1ghij2klmno3pqr4"
}

Using terraform import, import Chime Voice Connector Logging using the voice_connector_id. For example:

% terraform import aws_chime_voice_connector_logging.default abcdef1ghij2klmno3pqr4