import * as core from "@terrascript/core"; export interface VoiceConnectorArgs extends core.ResourceArgs { /** * (Optional) The AWS Region in which the Amazon Chime Voice Connector is created. Default value: `us-e * ast-1` */ awsRegion?: string | core.StringOut; /** * (Required) The name of the Amazon Chime Voice Connector. */ name: string | core.StringOut; /** * (Required) When enabled, requires encryption for the Amazon Chime Voice Connector. */ requireEncryption: boolean | core.BooleanOut; } export class VoiceConnector extends core.Resource { /** * (Optional) The AWS Region in which the Amazon Chime Voice Connector is created. Default value: `us-e * ast-1` */ @core.attr(String) public awsRegion?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the Amazon Chime Voice Connector. */ @core.attr(String) public name!: string | core.StringOut; /** * The outbound host name for the Amazon Chime Voice Connector. */ @core.attr(String, { computed: true }) public outboundHostName!: string | core.StringOut; /** * (Required) When enabled, requires encryption for the Amazon Chime Voice Connector. */ @core.attr(Boolean) public requireEncryption!: boolean | core.BooleanOut; constructor(name: string, args?: VoiceConnectorArgs) { super(name, "aws_chime_voice_connector", args); } public override getNamespace(): string { return "aws_chime"; } }