QueryGenerationTableProperty Struct
Contains information about a table for the query engine to consider.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const queryGenerationTableProperty: bedrock.CfnKnowledgeBase.QueryGenerationTableProperty = {
name: 'name',
// the properties below are optional
columns: [{
description: 'description',
inclusion: 'inclusion',
name: 'name',
}],
description: 'description',
inclusion: 'inclusion',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock
query_generation_table_property = bedrock.CfnKnowledgeBase.QueryGenerationTableProperty(
name="name",
# the properties below are optional
columns=[bedrock.CfnKnowledgeBase.QueryGenerationColumnProperty(
description="description",
inclusion="inclusion",
name="name"
)],
description="description",
inclusion="inclusion"
)
java
// 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.*;
QueryGenerationTableProperty queryGenerationTableProperty = QueryGenerationTableProperty.builder()
.name("name")
// the properties below are optional
.columns(List.of(QueryGenerationColumnProperty.builder()
.description("description")
.inclusion("inclusion")
.name("name")
.build()))
.description("description")
.inclusion("inclusion")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var queryGenerationTableProperty = new QueryGenerationTableProperty {
Name = "name",
// the properties below are optional
Columns = new [] { new QueryGenerationColumnProperty {
Description = "description",
Inclusion = "inclusion",
Name = "name"
} },
Description = "description",
Inclusion = "inclusion"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
queryGenerationTableProperty := &QueryGenerationTableProperty{
Name: jsii.String("name"),
// the properties below are optional
Columns: []interface{}{
&QueryGenerationColumnProperty{
Description: jsii.String("description"),
Inclusion: jsii.String("inclusion"),
Name: jsii.String("name"),
},
},
Description: jsii.String("description"),
Inclusion: jsii.String("inclusion"),
}
Properties
columnsoptionalIResolvable | IResolvable | CfnKnowledgeBase.columnsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, QueryGenerationColumnProperty]]]columnsoptionalIResolvableColumnsoptionalIResolvableColumnsoptionalinterface{} #An array of objects, each of which defines information about a column in the table.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description of the table that helps the query engine understand the contents of the table.
inclusionoptionalstringinclusionoptionalstrinclusionoptionalStringInclusionoptionalstringInclusionoptional*string #Specifies whether to include or exclude the table during query generation.
If you specify EXCLUDE , the table will be ignored. If you specify INCLUDE , all other tables will be ignored.
The name of the table for which the other fields in this object apply.