import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Adds termination SIP credentials for the specified Amazon Chime Voice Connector. * * > **Note:** Voice Connector Termination Credentials requires a Voice Connector Termination to be present. Use of `dependsOn` (as shown below) is recommended to avoid race conditions. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const _default = new aws.chime.VoiceConnector("default", { * name: "test", * requireEncryption: true, * }); * const defaultVoiceConnectorTermination = new aws.chime.VoiceConnectorTermination("default", { * disabled: true, * cpsLimit: 1, * cidrAllowLists: ["50.35.78.96/31"], * callingRegions: [ * "US", * "CA", * ], * voiceConnectorId: _default.id, * }); * const defaultVoiceConnectorTerminationCredentials = new aws.chime.VoiceConnectorTerminationCredentials("default", { * credentials: [{ * username: "test", * password: "test!", * }], * voiceConnectorId: _default.id, * }, { * dependsOn: [defaultVoiceConnectorTermination], * }); * ``` * * ## Import * * Using `pulumi import`, import Chime Voice Connector Termination Credentials using the `voiceConnectorId`. For example: * * ```sh * $ pulumi import aws:chime/voiceConnectorTerminationCredentials:VoiceConnectorTerminationCredentials default abcdef1ghij2klmno3pqr4 * ``` */ export declare class VoiceConnectorTerminationCredentials extends pulumi.CustomResource { /** * Get an existing VoiceConnectorTerminationCredentials resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: VoiceConnectorTerminationCredentialsState, opts?: pulumi.CustomResourceOptions): VoiceConnectorTerminationCredentials; /** * Check whether an existing VoiceConnectorTerminationCredentials resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: VoiceConnectorTerminationCredentialsState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of VoiceConnectorTerminationCredentials. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is VoiceConnectorTerminationCredentials; /** * List of termination SIP credentials. */ readonly credentials: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * Amazon Chime Voice Connector ID. */ readonly voiceConnectorId: pulumi.Output; /** * Create a VoiceConnectorTerminationCredentials resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: VoiceConnectorTerminationCredentialsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VoiceConnectorTerminationCredentials resources. */ export interface VoiceConnectorTerminationCredentialsState { /** * List of termination SIP credentials. */ credentials?: pulumi.Input[] | undefined>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Amazon Chime Voice Connector ID. */ voiceConnectorId?: pulumi.Input; } /** * The set of arguments for constructing a VoiceConnectorTerminationCredentials resource. */ export interface VoiceConnectorTerminationCredentialsArgs { /** * List of termination SIP credentials. */ credentials: pulumi.Input[]>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Amazon Chime Voice Connector ID. */ voiceConnectorId: pulumi.Input; } //# sourceMappingURL=voiceConnectorTerminationCredentials.d.ts.map