This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Bedrock::Guardrail ContextualGroundingFilterConfig
The filter configuration details for the guardrails contextual grounding filter.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
Action- 
                    
Specifies the action to take when content fails the contextual grounding evaluation. Supported values include:
- 
                            
BLOCK– Block the content and replace it with blocked messaging. - 
                            
NONE– Take no action but return detection information in the trace response. 
Required: No
Type: String
Allowed values:
BLOCK | NONEUpdate requires: No interruption
 - 
                            
 Enabled- 
                    
Specifies whether to enable contextual grounding evaluation. When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.
Required: No
Type: Boolean
Update requires: No interruption
 Threshold- 
                    
The threshold details for the guardrails contextual grounding filter.
Required: Yes
Type: Number
Minimum:
0Update requires: No interruption
 Type- 
                    
The filter details for the guardrails contextual grounding filter.
Required: Yes
Type: String
Allowed values:
GROUNDING | RELEVANCEUpdate requires: No interruption