

# TextToSqlConfiguration
<a name="API_agent-runtime_TextToSqlConfiguration"></a>

Contains configurations for transforming text to SQL.

## Contents
<a name="API_agent-runtime_TextToSqlConfiguration_Contents"></a>

 ** type **   <a name="bedrock-Type-agent-runtime_TextToSqlConfiguration-type"></a>
The type of resource to use in transformation.  
Type: String  
Valid Values: `KNOWLEDGE_BASE`   
Required: Yes

 ** knowledgeBaseConfiguration **   <a name="bedrock-Type-agent-runtime_TextToSqlConfiguration-knowledgeBaseConfiguration"></a>
Specifies configurations for a knowledge base to use in transformation.  
Type: [TextToSqlKnowledgeBaseConfiguration](API_agent-runtime_TextToSqlKnowledgeBaseConfiguration.md) object  
Required: No

## See Also
<a name="API_agent-runtime_TextToSqlConfiguration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agent-runtime-2023-07-26/TextToSqlConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-runtime-2023-07-26/TextToSqlConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-runtime-2023-07-26/TextToSqlConfiguration) 