AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Bedrock::AutomatedReasoningPolicy

CfnAutomatedReasoningPolicy

Creates an Automated Reasoning policy for Amazon Bedrock Guardrails. Automated Reasoning policies use mathematical techniques to detect hallucinations, suggest corrections, and highlight unstated assumptions in the responses of your GenAI application. To create a policy, you upload a source document that describes the rules that you're encoding. Automated Reasoning extracts important concepts from the source document that will become variables in the policy and infers policy rules. To learn more about creating Automated Reasoning policies, see [Minimize AI hallucinations and deliver up to 99% verification accuracy with Automated Reasoning checks: Now available](https://docs.aws.amazon.com/aws/minimize-ai-hallucinations-and-deliver-up-to-99-verification-accuracy-with-automated-reasoning-checks-now-available/) in the *AWS News Blog* .

Import

import { CfnAutomatedReasoningPolicy } from 'aws-cdk-lib/aws-bedrock';

Or use the module namespace:

import * as bedrock from 'aws-cdk-lib/aws-bedrock';
// bedrock.CfnAutomatedReasoningPolicy

Properties

Configuration passed to the constructor as CfnAutomatedReasoningPolicyProps.

nameRequired
string

The name of the policy.

descriptionOptional
string

The description of the policy.

forceDeleteOptional
boolean | IResolvable

Specifies whether to force delete the automated reasoning policy even if it has active resources. When false , Amazon Bedrock validates if all artifacts have been deleted (e.g. policy version, test case, test result) for a policy before deletion. When true , Amazon Bedrock will delete the policy and all its artifacts without validation. Default is false

Default: - false

kmsKeyIdOptional
string

The KMS key with which the Policy's assets will be encrypted at rest.

policyDefinitionOptional
IResolvable | PolicyDefinitionProperty

The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.

tagsOptional
CfnTag[]

The tags associated with the Automated Reasoning policy.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter