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

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

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.chime.SdkvoiceVoiceProfileDomain

Explore with Pulumi AI

aws logo

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

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Resource for managing an AWS Chime SDK Voice Profile Domain.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.kms.Key("example", {
        description: "KMS Key for Voice Profile Domain",
        deletionWindowInDays: 7,
    });
    const exampleSdkvoiceVoiceProfileDomain = new aws.chime.SdkvoiceVoiceProfileDomain("example", {
        name: "ExampleVoiceProfileDomain",
        serverSideEncryptionConfiguration: {
            kmsKeyArn: example.arn,
        },
        description: "My Voice Profile Domain",
        tags: {
            key1: "value1",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.kms.Key("example",
        description="KMS Key for Voice Profile Domain",
        deletion_window_in_days=7)
    example_sdkvoice_voice_profile_domain = aws.chime.SdkvoiceVoiceProfileDomain("example",
        name="ExampleVoiceProfileDomain",
        server_side_encryption_configuration={
            "kmsKeyArn": example.arn,
        },
        description="My Voice Profile Domain",
        tags={
            "key1": "value1",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/chime"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := kms.NewKey(ctx, "example", &kms.KeyArgs{
    			Description:          pulumi.String("KMS Key for Voice Profile Domain"),
    			DeletionWindowInDays: pulumi.Int(7),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = chime.NewSdkvoiceVoiceProfileDomain(ctx, "example", &chime.SdkvoiceVoiceProfileDomainArgs{
    			Name: pulumi.String("ExampleVoiceProfileDomain"),
    			ServerSideEncryptionConfiguration: &chime.SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs{
    				KmsKeyArn: example.Arn,
    			},
    			Description: pulumi.String("My Voice Profile Domain"),
    			Tags: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    			},
    		})
    		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.Kms.Key("example", new()
        {
            Description = "KMS Key for Voice Profile Domain",
            DeletionWindowInDays = 7,
        });
    
        var exampleSdkvoiceVoiceProfileDomain = new Aws.Chime.SdkvoiceVoiceProfileDomain("example", new()
        {
            Name = "ExampleVoiceProfileDomain",
            ServerSideEncryptionConfiguration = new Aws.Chime.Inputs.SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs
            {
                KmsKeyArn = example.Arn,
            },
            Description = "My Voice Profile Domain",
            Tags = 
            {
                { "key1", "value1" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.kms.Key;
    import com.pulumi.aws.kms.KeyArgs;
    import com.pulumi.aws.chime.SdkvoiceVoiceProfileDomain;
    import com.pulumi.aws.chime.SdkvoiceVoiceProfileDomainArgs;
    import com.pulumi.aws.chime.inputs.SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs;
    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 Key("example", KeyArgs.builder()
                .description("KMS Key for Voice Profile Domain")
                .deletionWindowInDays(7)
                .build());
    
            var exampleSdkvoiceVoiceProfileDomain = new SdkvoiceVoiceProfileDomain("exampleSdkvoiceVoiceProfileDomain", SdkvoiceVoiceProfileDomainArgs.builder()
                .name("ExampleVoiceProfileDomain")
                .serverSideEncryptionConfiguration(SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs.builder()
                    .kmsKeyArn(example.arn())
                    .build())
                .description("My Voice Profile Domain")
                .tags(Map.of("key1", "value1"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:kms:Key
        properties:
          description: KMS Key for Voice Profile Domain
          deletionWindowInDays: 7
      exampleSdkvoiceVoiceProfileDomain:
        type: aws:chime:SdkvoiceVoiceProfileDomain
        name: example
        properties:
          name: ExampleVoiceProfileDomain
          serverSideEncryptionConfiguration:
            kmsKeyArn: ${example.arn}
          description: My Voice Profile Domain
          tags:
            key1: value1
    

    Create SdkvoiceVoiceProfileDomain Resource

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

    Constructor syntax

    new SdkvoiceVoiceProfileDomain(name: string, args: SdkvoiceVoiceProfileDomainArgs, opts?: CustomResourceOptions);
    @overload
    def SdkvoiceVoiceProfileDomain(resource_name: str,
                                   args: SdkvoiceVoiceProfileDomainArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def SdkvoiceVoiceProfileDomain(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   server_side_encryption_configuration: Optional[SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs] = None,
                                   description: Optional[str] = None,
                                   name: Optional[str] = None,
                                   tags: Optional[Mapping[str, str]] = None)
    func NewSdkvoiceVoiceProfileDomain(ctx *Context, name string, args SdkvoiceVoiceProfileDomainArgs, opts ...ResourceOption) (*SdkvoiceVoiceProfileDomain, error)
    public SdkvoiceVoiceProfileDomain(string name, SdkvoiceVoiceProfileDomainArgs args, CustomResourceOptions? opts = null)
    public SdkvoiceVoiceProfileDomain(String name, SdkvoiceVoiceProfileDomainArgs args)
    public SdkvoiceVoiceProfileDomain(String name, SdkvoiceVoiceProfileDomainArgs args, CustomResourceOptions options)
    
    type: aws:chime:SdkvoiceVoiceProfileDomain
    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 SdkvoiceVoiceProfileDomainArgs
    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 SdkvoiceVoiceProfileDomainArgs
    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 SdkvoiceVoiceProfileDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SdkvoiceVoiceProfileDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SdkvoiceVoiceProfileDomainArgs
    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 sdkvoiceVoiceProfileDomainResource = new Aws.Chime.SdkvoiceVoiceProfileDomain("sdkvoiceVoiceProfileDomainResource", new()
    {
        ServerSideEncryptionConfiguration = new Aws.Chime.Inputs.SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs
        {
            KmsKeyArn = "string",
        },
        Description = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := chime.NewSdkvoiceVoiceProfileDomain(ctx, "sdkvoiceVoiceProfileDomainResource", &chime.SdkvoiceVoiceProfileDomainArgs{
    	ServerSideEncryptionConfiguration: &chime.SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs{
    		KmsKeyArn: pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var sdkvoiceVoiceProfileDomainResource = new SdkvoiceVoiceProfileDomain("sdkvoiceVoiceProfileDomainResource", SdkvoiceVoiceProfileDomainArgs.builder()
        .serverSideEncryptionConfiguration(SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs.builder()
            .kmsKeyArn("string")
            .build())
        .description("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    sdkvoice_voice_profile_domain_resource = aws.chime.SdkvoiceVoiceProfileDomain("sdkvoiceVoiceProfileDomainResource",
        server_side_encryption_configuration={
            "kmsKeyArn": "string",
        },
        description="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const sdkvoiceVoiceProfileDomainResource = new aws.chime.SdkvoiceVoiceProfileDomain("sdkvoiceVoiceProfileDomainResource", {
        serverSideEncryptionConfiguration: {
            kmsKeyArn: "string",
        },
        description: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:chime:SdkvoiceVoiceProfileDomain
    properties:
        description: string
        name: string
        serverSideEncryptionConfiguration:
            kmsKeyArn: string
        tags:
            string: string
    

    SdkvoiceVoiceProfileDomain 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 SdkvoiceVoiceProfileDomain resource accepts the following input properties:

    ServerSideEncryptionConfiguration SdkvoiceVoiceProfileDomainServerSideEncryptionConfiguration
    Configuration for server side encryption.
    Description string
    Description of Voice Profile Domain.
    Name string
    Name of Voice Profile Domain.
    Tags Dictionary<string, string>
    ServerSideEncryptionConfiguration SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs
    Configuration for server side encryption.
    Description string
    Description of Voice Profile Domain.
    Name string
    Name of Voice Profile Domain.
    Tags map[string]string
    serverSideEncryptionConfiguration SdkvoiceVoiceProfileDomainServerSideEncryptionConfiguration
    Configuration for server side encryption.
    description String
    Description of Voice Profile Domain.
    name String
    Name of Voice Profile Domain.
    tags Map<String,String>
    serverSideEncryptionConfiguration SdkvoiceVoiceProfileDomainServerSideEncryptionConfiguration
    Configuration for server side encryption.
    description string
    Description of Voice Profile Domain.
    name string
    Name of Voice Profile Domain.
    tags {[key: string]: string}
    server_side_encryption_configuration SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs
    Configuration for server side encryption.
    description str
    Description of Voice Profile Domain.
    name str
    Name of Voice Profile Domain.
    tags Mapping[str, str]
    serverSideEncryptionConfiguration Property Map
    Configuration for server side encryption.
    description String
    Description of Voice Profile Domain.
    name String
    Name of Voice Profile Domain.
    tags Map<String>

    Outputs

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

    Arn string
    ARN of the Voice Profile Domain.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    Arn string
    ARN of the Voice Profile Domain.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    arn String
    ARN of the Voice Profile Domain.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    arn string
    ARN of the Voice Profile Domain.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    arn str
    ARN of the Voice Profile Domain.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    arn String
    ARN of the Voice Profile Domain.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    Look up Existing SdkvoiceVoiceProfileDomain Resource

    Get an existing SdkvoiceVoiceProfileDomain 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?: SdkvoiceVoiceProfileDomainState, opts?: CustomResourceOptions): SdkvoiceVoiceProfileDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            server_side_encryption_configuration: Optional[SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> SdkvoiceVoiceProfileDomain
    func GetSdkvoiceVoiceProfileDomain(ctx *Context, name string, id IDInput, state *SdkvoiceVoiceProfileDomainState, opts ...ResourceOption) (*SdkvoiceVoiceProfileDomain, error)
    public static SdkvoiceVoiceProfileDomain Get(string name, Input<string> id, SdkvoiceVoiceProfileDomainState? state, CustomResourceOptions? opts = null)
    public static SdkvoiceVoiceProfileDomain get(String name, Output<String> id, SdkvoiceVoiceProfileDomainState 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 of the Voice Profile Domain.
    Description string
    Description of Voice Profile Domain.
    Name string
    Name of Voice Profile Domain.
    ServerSideEncryptionConfiguration SdkvoiceVoiceProfileDomainServerSideEncryptionConfiguration
    Configuration for server side encryption.
    Tags Dictionary<string, string>
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    Arn string
    ARN of the Voice Profile Domain.
    Description string
    Description of Voice Profile Domain.
    Name string
    Name of Voice Profile Domain.
    ServerSideEncryptionConfiguration SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs
    Configuration for server side encryption.
    Tags map[string]string
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    arn String
    ARN of the Voice Profile Domain.
    description String
    Description of Voice Profile Domain.
    name String
    Name of Voice Profile Domain.
    serverSideEncryptionConfiguration SdkvoiceVoiceProfileDomainServerSideEncryptionConfiguration
    Configuration for server side encryption.
    tags Map<String,String>
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    arn string
    ARN of the Voice Profile Domain.
    description string
    Description of Voice Profile Domain.
    name string
    Name of Voice Profile Domain.
    serverSideEncryptionConfiguration SdkvoiceVoiceProfileDomainServerSideEncryptionConfiguration
    Configuration for server side encryption.
    tags {[key: string]: string}
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    arn str
    ARN of the Voice Profile Domain.
    description str
    Description of Voice Profile Domain.
    name str
    Name of Voice Profile Domain.
    server_side_encryption_configuration SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs
    Configuration for server side encryption.
    tags Mapping[str, str]
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    arn String
    ARN of the Voice Profile Domain.
    description String
    Description of Voice Profile Domain.
    name String
    Name of Voice Profile Domain.
    serverSideEncryptionConfiguration Property Map
    Configuration for server side encryption.
    tags Map<String>
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    Supporting Types

    SdkvoiceVoiceProfileDomainServerSideEncryptionConfiguration, SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs

    KmsKeyArn string

    ARN for KMS Key.

    The following arguments are optional:

    KmsKeyArn string

    ARN for KMS Key.

    The following arguments are optional:

    kmsKeyArn String

    ARN for KMS Key.

    The following arguments are optional:

    kmsKeyArn string

    ARN for KMS Key.

    The following arguments are optional:

    kms_key_arn str

    ARN for KMS Key.

    The following arguments are optional:

    kmsKeyArn String

    ARN for KMS Key.

    The following arguments are optional:

    Import

    Using pulumi import, import AWS Chime SDK Voice Profile Domain using the id. For example:

    $ pulumi import aws:chime/sdkvoiceVoiceProfileDomain:SdkvoiceVoiceProfileDomain 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.42.0 published on Wednesday, Jun 26, 2024 by Pulumi