AWS::Bedrock::AutomatedReasoningPolicy - AWS CloudFormation

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::AutomatedReasoningPolicy

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 in the AWS News Blog.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::Bedrock::AutomatedReasoningPolicy", "Properties" : { "Description" : String, "Name" : String, "PolicyDefinition" : PolicyDefinition, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::Bedrock::AutomatedReasoningPolicy Properties: Description: String Name: String PolicyDefinition: PolicyDefinition Tags: - Tag

Properties

Description

The description of the policy.

Required: No

Type: String

Pattern: ^[\s\S]+$

Maximum: 1024

Update requires: No interruption

Name

The name of the policy.

Required: Yes

Type: String

Pattern: ^[0-9a-zA-Z-_ ]+$

Minimum: 1

Maximum: 256

Update requires: No interruption

PolicyDefinition

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

Required: No

Type: PolicyDefinition

Update requires: No interruption

Tags

The tags associated with the Automated Reasoning policy.

Required: No

Type: Array of Tag

Update requires: No interruption

Return values

Ref

Returns the policy ID.

Fn::GetAtt

Returns the value of an attribute from a resource in the template.

CreatedAt

The timestamp when the policy was created.

DefinitionHash

A hash of the policy definition used to identify the version.

PolicyArn

The Amazon Resource Name (ARN) of the policy.

PolicyId

The unique identifier of the policy.

UpdatedAt

The timestamp when the policy was last updated.

Version

The version of the policy.