Skip to content
v2.274.0

CfnAutomatedReasoningPolicyPropsMixin Mixin ​

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 .

Initializer ​

ts
new CfnAutomatedReasoningPolicyPropsMixin(props: CfnAutomatedReasoningPolicyMixinProps, options?: CfnPropertyMixinOptions)
python
CfnAutomatedReasoningPolicyPropsMixin(props: CfnAutomatedReasoningPolicyMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnAutomatedReasoningPolicyPropsMixin(CfnAutomatedReasoningPolicyMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnAutomatedReasoningPolicyPropsMixin(CfnAutomatedReasoningPolicyMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnAutomatedReasoningPolicyPropsMixin(Props CfnAutomatedReasoningPolicyMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.