Resource: aws_chimesdkvoice_sip_media_application

A ChimeSDKVoice SIP Media Application is a managed object that passes values from a SIP rule to a target AWS Lambda function.

Example Usage

Basic Usage

resource "aws_chimesdkvoice_sip_media_application" "example" {
  aws_region = "us-east-1"
  name       = "example-sip-media-application"
  endpoints {
    lambda_arn = aws_lambda_function.test.arn
  }
}

Argument Reference

The following arguments are required:

The following arguments are optional:

endpoints

The endpoint assigned to the SIP media application.

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 a ChimeSDKVoice SIP Media Application using the id. For example:

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

Using terraform import, import a ChimeSDKVoice SIP Media Application using the id. For example:

% terraform import aws_chimesdkvoice_sip_media_application.example abcdef123456