Try AWS Native preview for resources not in the classic version.
aws.chime.SdkvoiceSipMediaApplication
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
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,
},
});
import pulumi
import pulumi_aws as aws
example = aws.chime.SdkvoiceSipMediaApplication("example",
aws_region="us-east-1",
name="example-sip-media-application",
endpoints={
"lambdaArn": test["arn"],
})
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
})
}
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,
},
});
});
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());
}
}
resources:
example:
type: aws:chime:SdkvoiceSipMediaApplication
properties:
awsRegion: us-east-1
name: example-sip-media-application
endpoints:
lambdaArn: ${test.arn}
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 string
- The unique name of the resource.
- args SdkvoiceSipMediaApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args SdkvoiceSipMediaApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SdkvoiceSipMediaApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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" },
},
});
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"),
},
})
var sdkvoiceSipMediaApplicationResource = new SdkvoiceSipMediaApplication("sdkvoiceSipMediaApplicationResource", SdkvoiceSipMediaApplicationArgs.builder()
.awsRegion("string")
.endpoints(SdkvoiceSipMediaApplicationEndpointsArgs.builder()
.lambdaArn("string")
.build())
.name("string")
.tags(Map.of("string", "string"))
.build());
sdkvoice_sip_media_application_resource = aws.chime.SdkvoiceSipMediaApplication("sdkvoiceSipMediaApplicationResource",
aws_region="string",
endpoints={
"lambdaArn": "string",
},
name="string",
tags={
"string": "string",
})
const sdkvoiceSipMediaApplicationResource = new aws.chime.SdkvoiceSipMediaApplication("sdkvoiceSipMediaApplicationResource", {
awsRegion: "string",
endpoints: {
lambdaArn: "string",
},
name: "string",
tags: {
string: "string",
},
});
type: aws:chime:SdkvoiceSipMediaApplication
properties:
awsRegion: string
endpoints:
lambdaArn: string
name: string
tags:
string: string
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
The SdkvoiceSipMediaApplication resource accepts the following input properties:
- Aws
Region string - The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
- Endpoints
Sdkvoice
Sip Media Application Endpoints - 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:
- 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.
- Aws
Region string - The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
- Endpoints
Sdkvoice
Sip Media Application Endpoints Args - 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:
- 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.
- aws
Region String - The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
- endpoints
Sdkvoice
Sip Media Application Endpoints - 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:
- 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.
- aws
Region string - The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
- endpoints
Sdkvoice
Sip Media Application Endpoints - 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:
- {[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 str - The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
- endpoints
Sdkvoice
Sip Media Application Endpoints Args - 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:
- 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.
- aws
Region 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:
- 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:
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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Arn string
- ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
- Aws
Region string - The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
- Endpoints
Sdkvoice
Sip Media Application Endpoints - 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:
- 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. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
- Aws
Region string - The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
- Endpoints
Sdkvoice
Sip Media Application Endpoints Args - 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:
- 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. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
- aws
Region String - The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
- endpoints
Sdkvoice
Sip Media Application Endpoints - 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:
- 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. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
- aws
Region string - The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
- endpoints
Sdkvoice
Sip Media Application Endpoints - 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:
- {[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. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
- aws_
region str - The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
- endpoints
Sdkvoice
Sip Media Application Endpoints Args - 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:
- 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. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
- aws
Region 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:
- 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. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Supporting Types
SdkvoiceSipMediaApplicationEndpoints, SdkvoiceSipMediaApplicationEndpointsArgs
- Lambda
Arn 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 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 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 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 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.
- lambda
Arn 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
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.
Try AWS Native preview for resources not in the classic version.