interface ContextualGroundingPolicyConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_bedrock.CfnGuardrail.ContextualGroundingPolicyConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnGuardrail_ContextualGroundingPolicyConfigProperty |
Java | software.amazon.awscdk.services.bedrock.CfnGuardrail.ContextualGroundingPolicyConfigProperty |
Python | aws_cdk.aws_bedrock.CfnGuardrail.ContextualGroundingPolicyConfigProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnGuardrail » ContextualGroundingPolicyConfigProperty |
The policy configuration details for the guardrails contextual grounding policy.
Example
// 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 contextualGroundingPolicyConfigProperty: bedrock.CfnGuardrail.ContextualGroundingPolicyConfigProperty = {
filtersConfig: [{
threshold: 123,
type: 'type',
// the properties below are optional
action: 'action',
enabled: false,
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| filters | IResolvable | (IResolvable | Contextual)[] | List of contextual grounding filter configs. |
filtersConfig
Type:
IResolvable | (IResolvable | Contextual)[]
List of contextual grounding filter configs.

.NET
Go
Java
Python
TypeScript