1. Packages
  2. AWS Classic
  3. API Docs
  4. chime
  5. SdkvoiceSipMediaApplication

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.37.1 published on Friday, May 24, 2024 by Pulumi

aws.chime.SdkvoiceSipMediaApplication

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.37.1 published on Friday, May 24, 2024 by Pulumi

    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=aws.chime.SdkvoiceSipMediaApplicationEndpointsArgs(
            lambda_arn=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.

    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=aws.chime.SdkvoiceSipMediaApplicationEndpointsArgs(
            lambda_arn="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:

    AwsRegion 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.
    AwsRegion 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.
    awsRegion 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.
    awsRegion 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.
    aws_region 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.
    awsRegion 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.

    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)
    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.
    The following state arguments are supported:
    Arn string
    ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
    AwsRegion 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 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 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 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 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 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 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 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 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 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.
    lambdaArn 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.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.37.1 published on Friday, May 24, 2024 by Pulumi