AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfiguration constructor

const AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfiguration({
  1. required Input<String> type,
  2. Input<String?>? usernamePasswordSecretArn,
})

Creates a new AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfiguration. type Type of authentication to use. Valid values: IAM, USERNAME_PASSWORD. usernamePasswordSecretArn ARN of a Secrets Manager secret for authentication.

Implementation

const AgentKnowledgeBaseKnowledgeBaseConfigurationSqlKnowledgeBaseConfigurationRedshiftConfigurationQueryEngineConfigurationServerlessConfigurationAuthConfiguration({
  required this.type,
  this.usernamePasswordSecretArn,
});