Try AWS Native preview for resources not in the classic version.
aws.chime.VoiceConnector
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Enables you to connect your phone system to the telephone network at a substantial cost savings by using SIP trunking.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = new Aws.Chime.VoiceConnector("test", new()
{
AwsRegion = "us-east-1",
RequireEncryption = true,
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/chime"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := chime.NewVoiceConnector(ctx, "test", &chime.VoiceConnectorArgs{
AwsRegion: pulumi.String("us-east-1"),
RequireEncryption: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.chime.VoiceConnector;
import com.pulumi.aws.chime.VoiceConnectorArgs;
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 test = new VoiceConnector("test", VoiceConnectorArgs.builder()
.awsRegion("us-east-1")
.requireEncryption(true)
.build());
}
}
import pulumi
import pulumi_aws as aws
test = aws.chime.VoiceConnector("test",
aws_region="us-east-1",
require_encryption=True)
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.chime.VoiceConnector("test", {
awsRegion: "us-east-1",
requireEncryption: true,
});
resources:
test:
type: aws:chime:VoiceConnector
properties:
awsRegion: us-east-1
requireEncryption: true
Create VoiceConnector Resource
new VoiceConnector(name: string, args: VoiceConnectorArgs, opts?: CustomResourceOptions);
@overload
def VoiceConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
aws_region: Optional[str] = None,
name: Optional[str] = None,
require_encryption: Optional[bool] = None)
@overload
def VoiceConnector(resource_name: str,
args: VoiceConnectorArgs,
opts: Optional[ResourceOptions] = None)
func NewVoiceConnector(ctx *Context, name string, args VoiceConnectorArgs, opts ...ResourceOption) (*VoiceConnector, error)
public VoiceConnector(string name, VoiceConnectorArgs args, CustomResourceOptions? opts = null)
public VoiceConnector(String name, VoiceConnectorArgs args)
public VoiceConnector(String name, VoiceConnectorArgs args, CustomResourceOptions options)
type: aws:chime:VoiceConnector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VoiceConnectorArgs
- 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 VoiceConnectorArgs
- 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 VoiceConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VoiceConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VoiceConnectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VoiceConnector 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 VoiceConnector resource accepts the following input properties:
- Require
Encryption bool When enabled, requires encryption for the Amazon Chime Voice Connector.
- Aws
Region string The AWS Region in which the Amazon Chime Voice Connector is created. Default value:
us-east-1
- Name string
The name of the Amazon Chime Voice Connector.
- Require
Encryption bool When enabled, requires encryption for the Amazon Chime Voice Connector.
- Aws
Region string The AWS Region in which the Amazon Chime Voice Connector is created. Default value:
us-east-1
- Name string
The name of the Amazon Chime Voice Connector.
- require
Encryption Boolean When enabled, requires encryption for the Amazon Chime Voice Connector.
- aws
Region String The AWS Region in which the Amazon Chime Voice Connector is created. Default value:
us-east-1
- name String
The name of the Amazon Chime Voice Connector.
- require
Encryption boolean When enabled, requires encryption for the Amazon Chime Voice Connector.
- aws
Region string The AWS Region in which the Amazon Chime Voice Connector is created. Default value:
us-east-1
- name string
The name of the Amazon Chime Voice Connector.
- require_
encryption bool When enabled, requires encryption for the Amazon Chime Voice Connector.
- aws_
region str The AWS Region in which the Amazon Chime Voice Connector is created. Default value:
us-east-1
- name str
The name of the Amazon Chime Voice Connector.
- require
Encryption Boolean When enabled, requires encryption for the Amazon Chime Voice Connector.
- aws
Region String The AWS Region in which the Amazon Chime Voice Connector is created. Default value:
us-east-1
- name String
The name of the Amazon Chime Voice Connector.
Outputs
All input properties are implicitly available as output properties. Additionally, the VoiceConnector resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Outbound
Host stringName The outbound host name for the Amazon Chime Voice Connector.
- Id string
The provider-assigned unique ID for this managed resource.
- Outbound
Host stringName The outbound host name for the Amazon Chime Voice Connector.
- id String
The provider-assigned unique ID for this managed resource.
- outbound
Host StringName The outbound host name for the Amazon Chime Voice Connector.
- id string
The provider-assigned unique ID for this managed resource.
- outbound
Host stringName The outbound host name for the Amazon Chime Voice Connector.
- id str
The provider-assigned unique ID for this managed resource.
- outbound_
host_ strname The outbound host name for the Amazon Chime Voice Connector.
- id String
The provider-assigned unique ID for this managed resource.
- outbound
Host StringName The outbound host name for the Amazon Chime Voice Connector.
Look up Existing VoiceConnector Resource
Get an existing VoiceConnector 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?: VoiceConnectorState, opts?: CustomResourceOptions): VoiceConnector
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aws_region: Optional[str] = None,
name: Optional[str] = None,
outbound_host_name: Optional[str] = None,
require_encryption: Optional[bool] = None) -> VoiceConnector
func GetVoiceConnector(ctx *Context, name string, id IDInput, state *VoiceConnectorState, opts ...ResourceOption) (*VoiceConnector, error)
public static VoiceConnector Get(string name, Input<string> id, VoiceConnectorState? state, CustomResourceOptions? opts = null)
public static VoiceConnector get(String name, Output<String> id, VoiceConnectorState 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.
- Aws
Region string The AWS Region in which the Amazon Chime Voice Connector is created. Default value:
us-east-1
- Name string
The name of the Amazon Chime Voice Connector.
- Outbound
Host stringName The outbound host name for the Amazon Chime Voice Connector.
- Require
Encryption bool When enabled, requires encryption for the Amazon Chime Voice Connector.
- Aws
Region string The AWS Region in which the Amazon Chime Voice Connector is created. Default value:
us-east-1
- Name string
The name of the Amazon Chime Voice Connector.
- Outbound
Host stringName The outbound host name for the Amazon Chime Voice Connector.
- Require
Encryption bool When enabled, requires encryption for the Amazon Chime Voice Connector.
- aws
Region String The AWS Region in which the Amazon Chime Voice Connector is created. Default value:
us-east-1
- name String
The name of the Amazon Chime Voice Connector.
- outbound
Host StringName The outbound host name for the Amazon Chime Voice Connector.
- require
Encryption Boolean When enabled, requires encryption for the Amazon Chime Voice Connector.
- aws
Region string The AWS Region in which the Amazon Chime Voice Connector is created. Default value:
us-east-1
- name string
The name of the Amazon Chime Voice Connector.
- outbound
Host stringName The outbound host name for the Amazon Chime Voice Connector.
- require
Encryption boolean When enabled, requires encryption for the Amazon Chime Voice Connector.
- aws_
region str The AWS Region in which the Amazon Chime Voice Connector is created. Default value:
us-east-1
- name str
The name of the Amazon Chime Voice Connector.
- outbound_
host_ strname The outbound host name for the Amazon Chime Voice Connector.
- require_
encryption bool When enabled, requires encryption for the Amazon Chime Voice Connector.
- aws
Region String The AWS Region in which the Amazon Chime Voice Connector is created. Default value:
us-east-1
- name String
The name of the Amazon Chime Voice Connector.
- outbound
Host StringName The outbound host name for the Amazon Chime Voice Connector.
- require
Encryption Boolean When enabled, requires encryption for the Amazon Chime Voice Connector.
Import
Configuration Recorder can be imported using the name, e.g.,
$ pulumi import aws:chime/voiceConnector:VoiceConnector test example
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.