aws.chime.SdkvoiceVoiceProfileDomain
Explore with Pulumi AI
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={
"kms_key_arn": 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={
"kms_key_arn": "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SdkvoiceVoiceProfileDomain resource accepts the following input properties:
- Server
Side SdkvoiceEncryption Configuration Voice Profile Domain Server Side Encryption Configuration - Configuration for server side encryption.
- Description string
- Description of Voice Profile Domain.
- Name string
- Name of Voice Profile Domain.
- Dictionary<string, string>
- Server
Side SdkvoiceEncryption Configuration Voice Profile Domain Server Side Encryption Configuration Args - Configuration for server side encryption.
- Description string
- Description of Voice Profile Domain.
- Name string
- Name of Voice Profile Domain.
- map[string]string
- server
Side SdkvoiceEncryption Configuration Voice Profile Domain Server Side Encryption Configuration - Configuration for server side encryption.
- description String
- Description of Voice Profile Domain.
- name String
- Name of Voice Profile Domain.
- Map<String,String>
- server
Side SdkvoiceEncryption Configuration Voice Profile Domain Server Side Encryption Configuration - Configuration for server side encryption.
- description string
- Description of Voice Profile Domain.
- name string
- Name of Voice Profile Domain.
- {[key: string]: string}
- server_
side_ Sdkvoiceencryption_ configuration Voice Profile Domain Server Side Encryption Configuration Args - Configuration for server side encryption.
- description str
- Description of Voice Profile Domain.
- name str
- Name of Voice Profile Domain.
- Mapping[str, str]
- server
Side Property MapEncryption Configuration - Configuration for server side encryption.
- description String
- Description of Voice Profile Domain.
- name String
- Name of Voice Profile Domain.
- Map<String>
Outputs
All input properties are implicitly available as output properties. Additionally, the SdkvoiceVoiceProfileDomain resource produces the following output properties:
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.
- Arn string
- ARN of the Voice Profile Domain.
- Description string
- Description of Voice Profile Domain.
- Name string
- Name of Voice Profile Domain.
- Server
Side SdkvoiceEncryption Configuration Voice Profile Domain Server Side Encryption Configuration - Configuration for server side encryption.
- Dictionary<string, string>
- Dictionary<string, string>
- Arn string
- ARN of the Voice Profile Domain.
- Description string
- Description of Voice Profile Domain.
- Name string
- Name of Voice Profile Domain.
- Server
Side SdkvoiceEncryption Configuration Voice Profile Domain Server Side Encryption Configuration Args - Configuration for server side encryption.
- map[string]string
- map[string]string
- arn String
- ARN of the Voice Profile Domain.
- description String
- Description of Voice Profile Domain.
- name String
- Name of Voice Profile Domain.
- server
Side SdkvoiceEncryption Configuration Voice Profile Domain Server Side Encryption Configuration - Configuration for server side encryption.
- Map<String,String>
- Map<String,String>
- arn string
- ARN of the Voice Profile Domain.
- description string
- Description of Voice Profile Domain.
- name string
- Name of Voice Profile Domain.
- server
Side SdkvoiceEncryption Configuration Voice Profile Domain Server Side Encryption Configuration - Configuration for server side encryption.
- {[key: string]: string}
- {[key: string]: string}
- arn str
- ARN of the Voice Profile Domain.
- description str
- Description of Voice Profile Domain.
- name str
- Name of Voice Profile Domain.
- server_
side_ Sdkvoiceencryption_ configuration Voice Profile Domain Server Side Encryption Configuration Args - Configuration for server side encryption.
- Mapping[str, str]
- Mapping[str, str]
- arn String
- ARN of the Voice Profile Domain.
- description String
- Description of Voice Profile Domain.
- name String
- Name of Voice Profile Domain.
- server
Side Property MapEncryption Configuration - Configuration for server side encryption.
- Map<String>
- Map<String>
Supporting Types
SdkvoiceVoiceProfileDomainServerSideEncryptionConfiguration, SdkvoiceVoiceProfileDomainServerSideEncryptionConfigurationArgs
- Kms
Key stringArn ARN for KMS Key.
The following arguments are optional:
- Kms
Key stringArn ARN for KMS Key.
The following arguments are optional:
- kms
Key StringArn ARN for KMS Key.
The following arguments are optional:
- kms
Key stringArn ARN for KMS Key.
The following arguments are optional:
- kms_
key_ strarn ARN for KMS Key.
The following arguments are optional:
- kms
Key StringArn 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.