Interface CfnKnowledgeBase.RedshiftQueryEngineConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBase.RedshiftQueryEngineConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBase
@Stability(Stable)
public static interface CfnKnowledgeBase.RedshiftQueryEngineConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains configurations for an Amazon Redshift query engine.
Specify the type of query engine in type and include the corresponding field. For more information, see Build a knowledge base by connecting to a structured data source in the Amazon Bedrock User Guide.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
RedshiftQueryEngineConfigurationProperty redshiftQueryEngineConfigurationProperty = RedshiftQueryEngineConfigurationProperty.builder()
.type("type")
// the properties below are optional
.provisionedConfiguration(RedshiftProvisionedConfigurationProperty.builder()
.authConfiguration(RedshiftProvisionedAuthConfigurationProperty.builder()
.type("type")
// the properties below are optional
.databaseUser("databaseUser")
.usernamePasswordSecretArn("usernamePasswordSecretArn")
.build())
.clusterIdentifier("clusterIdentifier")
.build())
.serverlessConfiguration(RedshiftServerlessConfigurationProperty.builder()
.authConfiguration(RedshiftServerlessAuthConfigurationProperty.builder()
.type("type")
// the properties below are optional
.usernamePasswordSecretArn("usernamePasswordSecretArn")
.build())
.workgroupArn("workgroupArn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnKnowledgeBase.RedshiftQueryEngineConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The type of query engine.- See Also:
-
getProvisionedConfiguration
Specifies configurations for a provisioned Amazon Redshift query engine.Returns union: either
IResolvableorCfnKnowledgeBase.RedshiftProvisionedConfigurationProperty- See Also:
-
getServerlessConfiguration
Specifies configurations for a serverless Amazon Redshift query engine.Returns union: either
IResolvableorCfnKnowledgeBase.RedshiftServerlessConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnKnowledgeBase.RedshiftQueryEngineConfigurationProperty.Builder builder()
-