Skip to content
v2.274.0

ContextualGroundingPolicyConfigProperty Struct ​

The policy configuration details for the guardrails contextual grounding policy.

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 contextualGroundingPolicyConfigProperty: bedrock.CfnGuardrail.ContextualGroundingPolicyConfigProperty = {
  filtersConfig: [{
    threshold: 123,
    type: 'type',

    // the properties below are optional
    action: 'action',
    enabled: false,
  }],
};

Properties ​

filtersConfigIResolvable | IResolvable | CfnGuardrail.ContextualGroundingFilterConfigProperty[]filters_configtyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ContextualGroundingFilterConfigProperty]]]filtersConfigIResolvableFiltersConfigIResolvableFiltersConfiginterface{}required#
List of contextual grounding filter configs.