Class CfnAutomatedReasoningPolicyPropsMixin
Creates an Automated Reasoning policy for Amazon Bedrock Guardrails.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAutomatedReasoningPolicyPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnAutomatedReasoningPolicyPropsMixin Inherits Mixin Implements IMixin
Remarks
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 .
CloudformationResource: AWS::Bedrock::AutomatedReasoningPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;
var cfnAutomatedReasoningPolicyPropsMixin = new CfnAutomatedReasoningPolicyPropsMixin(new CfnAutomatedReasoningPolicyMixinProps {
Description = "description",
ForceDelete = false,
KmsKeyId = "kmsKeyId",
Name = "name",
PolicyDefinition = new PolicyDefinitionProperty {
Rules = new [] { new PolicyDefinitionRuleProperty {
AlternateExpression = "alternateExpression",
Expression = "expression",
Id = "id"
} },
Types = new [] { new PolicyDefinitionTypeProperty {
Description = "description",
Name = "name",
Values = new [] { new PolicyDefinitionTypeValueProperty {
Description = "description",
Value = "value"
} }
} },
Variables = new [] { new PolicyDefinitionVariableProperty {
Description = "description",
Name = "name",
Type = "type"
} },
Version = "version"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnAutomatedReasoningPolicyPropsMixin(ICfnAutomatedReasoningPolicyMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates an Automated Reasoning policy for Amazon Bedrock Guardrails. |
| Props | Creates an Automated Reasoning policy for Amazon Bedrock Guardrails. |
| Strategy | Creates an Automated Reasoning policy for Amazon Bedrock Guardrails. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnAutomatedReasoningPolicyPropsMixin(ICfnAutomatedReasoningPolicyMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Bedrock::AutomatedReasoningPolicy.
public CfnAutomatedReasoningPolicyPropsMixin(ICfnAutomatedReasoningPolicyMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnAutomatedReasoningPolicyMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
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 .
CloudformationResource: AWS::Bedrock::AutomatedReasoningPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates an Automated Reasoning policy for Amazon Bedrock Guardrails.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
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 .
CloudformationResource: AWS::Bedrock::AutomatedReasoningPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;
var cfnAutomatedReasoningPolicyPropsMixin = new CfnAutomatedReasoningPolicyPropsMixin(new CfnAutomatedReasoningPolicyMixinProps {
Description = "description",
ForceDelete = false,
KmsKeyId = "kmsKeyId",
Name = "name",
PolicyDefinition = new PolicyDefinitionProperty {
Rules = new [] { new PolicyDefinitionRuleProperty {
AlternateExpression = "alternateExpression",
Expression = "expression",
Id = "id"
} },
Types = new [] { new PolicyDefinitionTypeProperty {
Description = "description",
Name = "name",
Values = new [] { new PolicyDefinitionTypeValueProperty {
Description = "description",
Value = "value"
} }
} },
Variables = new [] { new PolicyDefinitionVariableProperty {
Description = "description",
Name = "name",
Type = "type"
} },
Version = "version"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Creates an Automated Reasoning policy for Amazon Bedrock Guardrails.
protected virtual ICfnAutomatedReasoningPolicyMixinProps Props { get; }
Property Value
ICfnAutomatedReasoningPolicyMixinProps
Remarks
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 .
CloudformationResource: AWS::Bedrock::AutomatedReasoningPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;
var cfnAutomatedReasoningPolicyPropsMixin = new CfnAutomatedReasoningPolicyPropsMixin(new CfnAutomatedReasoningPolicyMixinProps {
Description = "description",
ForceDelete = false,
KmsKeyId = "kmsKeyId",
Name = "name",
PolicyDefinition = new PolicyDefinitionProperty {
Rules = new [] { new PolicyDefinitionRuleProperty {
AlternateExpression = "alternateExpression",
Expression = "expression",
Id = "id"
} },
Types = new [] { new PolicyDefinitionTypeProperty {
Description = "description",
Name = "name",
Values = new [] { new PolicyDefinitionTypeValueProperty {
Description = "description",
Value = "value"
} }
} },
Variables = new [] { new PolicyDefinitionVariableProperty {
Description = "description",
Name = "name",
Type = "type"
} },
Version = "version"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Creates an Automated Reasoning policy for Amazon Bedrock Guardrails.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
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 .
CloudformationResource: AWS::Bedrock::AutomatedReasoningPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;
var cfnAutomatedReasoningPolicyPropsMixin = new CfnAutomatedReasoningPolicyPropsMixin(new CfnAutomatedReasoningPolicyMixinProps {
Description = "description",
ForceDelete = false,
KmsKeyId = "kmsKeyId",
Name = "name",
PolicyDefinition = new PolicyDefinitionProperty {
Rules = new [] { new PolicyDefinitionRuleProperty {
AlternateExpression = "alternateExpression",
Expression = "expression",
Id = "id"
} },
Types = new [] { new PolicyDefinitionTypeProperty {
Description = "description",
Name = "name",
Values = new [] { new PolicyDefinitionTypeValueProperty {
Description = "description",
Value = "value"
} }
} },
Variables = new [] { new PolicyDefinitionVariableProperty {
Description = "description",
Name = "name",
Type = "type"
} },
Version = "version"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
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 .
CloudformationResource: AWS::Bedrock::AutomatedReasoningPolicy
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
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 .
CloudformationResource: AWS::Bedrock::AutomatedReasoningPolicy
Mixin: true
ExampleMetadata: fixture=_generated