1. Packages
  2. AWS
  3. API Docs
  4. chime
  5. SdkvoiceSipMediaApplication
AWS v6.75.0 published on Wednesday, Apr 2, 2025 by Pulumi

aws.chime.SdkvoiceSipMediaApplication

Explore with Pulumi AI

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

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.chime.SdkvoiceSipMediaApplication("example", {
    awsRegion: "us-east-1",
    name: "example-sip-media-application",
    endpoints: {
        lambdaArn: test.arn,
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.chime.SdkvoiceSipMediaApplication("example",
    aws_region="us-east-1",
    name="example-sip-media-application",
    endpoints={
        "lambda_arn": test["arn"],
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/chime"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := chime.NewSdkvoiceSipMediaApplication(ctx, "example", &chime.SdkvoiceSipMediaApplicationArgs{
			AwsRegion: pulumi.String("us-east-1"),
			Name:      pulumi.String("example-sip-media-application"),
			Endpoints: &chime.SdkvoiceSipMediaApplicationEndpointsArgs{
				LambdaArn: pulumi.Any(test.Arn),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Chime.SdkvoiceSipMediaApplication("example", new()
    {
        AwsRegion = "us-east-1",
        Name = "example-sip-media-application",
        Endpoints = new Aws.Chime.Inputs.SdkvoiceSipMediaApplicationEndpointsArgs
        {
            LambdaArn = test.Arn,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.chime.SdkvoiceSipMediaApplication;
import com.pulumi.aws.chime.SdkvoiceSipMediaApplicationArgs;
import com.pulumi.aws.chime.inputs.SdkvoiceSipMediaApplicationEndpointsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new SdkvoiceSipMediaApplication("example", SdkvoiceSipMediaApplicationArgs.builder()
            .awsRegion("us-east-1")
            .name("example-sip-media-application")
            .endpoints(SdkvoiceSipMediaApplicationEndpointsArgs.builder()
                .lambdaArn(test.arn())
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:chime:SdkvoiceSipMediaApplication
    properties:
      awsRegion: us-east-1
      name: example-sip-media-application
      endpoints:
        lambdaArn: ${test.arn}
Copy

Create SdkvoiceSipMediaApplication Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SdkvoiceSipMediaApplication(name: string, args: SdkvoiceSipMediaApplicationArgs, opts?: CustomResourceOptions);
@overload
def SdkvoiceSipMediaApplication(resource_name: str,
                                args: SdkvoiceSipMediaApplicationArgs,
                                opts: Optional[ResourceOptions] = None)

@overload
def SdkvoiceSipMediaApplication(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                aws_region: Optional[str] = None,
                                endpoints: Optional[SdkvoiceSipMediaApplicationEndpointsArgs] = None,
                                name: Optional[str] = None,
                                tags: Optional[Mapping[str, str]] = None)
func NewSdkvoiceSipMediaApplication(ctx *Context, name string, args SdkvoiceSipMediaApplicationArgs, opts ...ResourceOption) (*SdkvoiceSipMediaApplication, error)
public SdkvoiceSipMediaApplication(string name, SdkvoiceSipMediaApplicationArgs args, CustomResourceOptions? opts = null)
public SdkvoiceSipMediaApplication(String name, SdkvoiceSipMediaApplicationArgs args)
public SdkvoiceSipMediaApplication(String name, SdkvoiceSipMediaApplicationArgs args, CustomResourceOptions options)
type: aws:chime:SdkvoiceSipMediaApplication
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SdkvoiceSipMediaApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SdkvoiceSipMediaApplicationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SdkvoiceSipMediaApplicationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SdkvoiceSipMediaApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SdkvoiceSipMediaApplicationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var sdkvoiceSipMediaApplicationResource = new Aws.Chime.SdkvoiceSipMediaApplication("sdkvoiceSipMediaApplicationResource", new()
{
    AwsRegion = "string",
    Endpoints = new Aws.Chime.Inputs.SdkvoiceSipMediaApplicationEndpointsArgs
    {
        LambdaArn = "string",
    },
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := chime.NewSdkvoiceSipMediaApplication(ctx, "sdkvoiceSipMediaApplicationResource", &chime.SdkvoiceSipMediaApplicationArgs{
	AwsRegion: pulumi.String("string"),
	Endpoints: &chime.SdkvoiceSipMediaApplicationEndpointsArgs{
		LambdaArn: pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var sdkvoiceSipMediaApplicationResource = new SdkvoiceSipMediaApplication("sdkvoiceSipMediaApplicationResource", SdkvoiceSipMediaApplicationArgs.builder()
    .awsRegion("string")
    .endpoints(SdkvoiceSipMediaApplicationEndpointsArgs.builder()
        .lambdaArn("string")
        .build())
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
sdkvoice_sip_media_application_resource = aws.chime.SdkvoiceSipMediaApplication("sdkvoiceSipMediaApplicationResource",
    aws_region="string",
    endpoints={
        "lambda_arn": "string",
    },
    name="string",
    tags={
        "string": "string",
    })
Copy
const sdkvoiceSipMediaApplicationResource = new aws.chime.SdkvoiceSipMediaApplication("sdkvoiceSipMediaApplicationResource", {
    awsRegion: "string",
    endpoints: {
        lambdaArn: "string",
    },
    name: "string",
    tags: {
        string: "string",
    },
});
Copy
type: aws:chime:SdkvoiceSipMediaApplication
properties:
    awsRegion: string
    endpoints:
        lambdaArn: string
    name: string
    tags:
        string: string
Copy

SdkvoiceSipMediaApplication Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SdkvoiceSipMediaApplication resource accepts the following input properties:

AwsRegion
This property is required.
Changes to this property will trigger replacement.
string
The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
Endpoints This property is required. SdkvoiceSipMediaApplicationEndpoints
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See endpoints.
Name string

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

Tags Dictionary<string, string>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
AwsRegion
This property is required.
Changes to this property will trigger replacement.
string
The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
Endpoints This property is required. SdkvoiceSipMediaApplicationEndpointsArgs
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See endpoints.
Name string

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

Tags map[string]string
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
awsRegion
This property is required.
Changes to this property will trigger replacement.
String
The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
endpoints This property is required. SdkvoiceSipMediaApplicationEndpoints
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See endpoints.
name String

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

tags Map<String,String>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
awsRegion
This property is required.
Changes to this property will trigger replacement.
string
The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
endpoints This property is required. SdkvoiceSipMediaApplicationEndpoints
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See endpoints.
name string

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

tags {[key: string]: string}
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
aws_region
This property is required.
Changes to this property will trigger replacement.
str
The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
endpoints This property is required. SdkvoiceSipMediaApplicationEndpointsArgs
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See endpoints.
name str

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

tags Mapping[str, str]
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
awsRegion
This property is required.
Changes to this property will trigger replacement.
String
The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
endpoints This property is required. Property Map
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See endpoints.
name String

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

tags Map<String>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

All input properties are implicitly available as output properties. Additionally, the SdkvoiceSipMediaApplication resource produces the following output properties:

Arn string
ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
Id string
The provider-assigned unique ID for this managed resource.
TagsAll Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Arn string
ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
Id string
The provider-assigned unique ID for this managed resource.
TagsAll map[string]string
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn string
ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
id string
The provider-assigned unique ID for this managed resource.
tagsAll {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn str
ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
id str
The provider-assigned unique ID for this managed resource.
tags_all Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Look up Existing SdkvoiceSipMediaApplication Resource

Get an existing SdkvoiceSipMediaApplication resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SdkvoiceSipMediaApplicationState, opts?: CustomResourceOptions): SdkvoiceSipMediaApplication
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        aws_region: Optional[str] = None,
        endpoints: Optional[SdkvoiceSipMediaApplicationEndpointsArgs] = None,
        name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> SdkvoiceSipMediaApplication
func GetSdkvoiceSipMediaApplication(ctx *Context, name string, id IDInput, state *SdkvoiceSipMediaApplicationState, opts ...ResourceOption) (*SdkvoiceSipMediaApplication, error)
public static SdkvoiceSipMediaApplication Get(string name, Input<string> id, SdkvoiceSipMediaApplicationState? state, CustomResourceOptions? opts = null)
public static SdkvoiceSipMediaApplication get(String name, Output<String> id, SdkvoiceSipMediaApplicationState state, CustomResourceOptions options)
resources:  _:    type: aws:chime:SdkvoiceSipMediaApplication    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string
ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
AwsRegion Changes to this property will trigger replacement. string
The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
Endpoints SdkvoiceSipMediaApplicationEndpoints
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See endpoints.
Name string

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

Tags Dictionary<string, string>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Arn string
ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
AwsRegion Changes to this property will trigger replacement. string
The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
Endpoints SdkvoiceSipMediaApplicationEndpointsArgs
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See endpoints.
Name string

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

Tags map[string]string
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll map[string]string
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
awsRegion Changes to this property will trigger replacement. String
The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
endpoints SdkvoiceSipMediaApplicationEndpoints
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See endpoints.
name String

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

tags Map<String,String>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn string
ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
awsRegion Changes to this property will trigger replacement. string
The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
endpoints SdkvoiceSipMediaApplicationEndpoints
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See endpoints.
name string

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

tags {[key: string]: string}
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn str
ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
aws_region Changes to this property will trigger replacement. str
The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
endpoints SdkvoiceSipMediaApplicationEndpointsArgs
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See endpoints.
name str

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

tags Mapping[str, str]
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tags_all Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
awsRegion Changes to this property will trigger replacement. String
The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
endpoints Property Map
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See endpoints.
name String

The name of the AWS Chime SDK Voice Sip Media Application.

The following arguments are optional:

tags Map<String>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Supporting Types

SdkvoiceSipMediaApplicationEndpoints
, SdkvoiceSipMediaApplicationEndpointsArgs

LambdaArn This property is required. string
Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.
LambdaArn This property is required. string
Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.
lambdaArn This property is required. String
Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.
lambdaArn This property is required. string
Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.
lambda_arn This property is required. str
Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.
lambdaArn This property is required. String
Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.

Import

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

$ pulumi import aws:chime/sdkvoiceSipMediaApplication:SdkvoiceSipMediaApplication example abcdef123456
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.