Skip to content
v2.278.0

QueryGenerationColumnProperty Struct ​

Contains information about a column in the current table for the query engine to consider.

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 queryGenerationColumnProperty: bedrock.CfnKnowledgeBase.QueryGenerationColumnProperty = {
  description: 'description',
  inclusion: 'inclusion',
  name: 'name',
};
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_column_property = bedrock.CfnKnowledgeBase.QueryGenerationColumnProperty(
    description="description",
    inclusion="inclusion",
    name="name"
)
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.*;

QueryGenerationColumnProperty queryGenerationColumnProperty = QueryGenerationColumnProperty.builder()
        .description("description")
        .inclusion("inclusion")
        .name("name")
        .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 queryGenerationColumnProperty = new QueryGenerationColumnProperty {
    Description = "description",
    Inclusion = "inclusion",
    Name = "name"
};
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"

queryGenerationColumnProperty := &QueryGenerationColumnProperty{
	Description: jsii.String("description"),
	Inclusion: jsii.String("inclusion"),
	Name: jsii.String("name"),
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
A description of the column that helps the query engine understand the contents of the column.
inclusionoptionalstringinclusionoptionalstrinclusionoptionalStringInclusionoptionalstringInclusionoptional*string #
Specifies whether to include or exclude the column during query generation.

If you specify EXCLUDE , the column will be ignored. If you specify INCLUDE , all other columns in the table will be ignored.

nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The name of the column for which the other fields in this object apply.