AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Represents a test scenario used to validate an Automated Reasoning policy, including the test conditions and expected outcomes.

Inheritance Hierarchy

System.Object
  Amazon.Bedrock.Model.AutomatedReasoningPolicyScenario

Namespace: Amazon.Bedrock.Model
Assembly: AWSSDK.Bedrock.dll
Version: 3.x.y.z

Syntax

C#
public class AutomatedReasoningPolicyScenario

The AutomatedReasoningPolicyScenario type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AlternateExpression System.String

Gets and sets the property AlternateExpression.

An alternative way to express the same test scenario, used for validation and comparison purposes.

Public Property ExpectedResult Amazon.Bedrock.AutomatedReasoningCheckResult

Gets and sets the property ExpectedResult.

The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).

Public Property Expression System.String

Gets and sets the property Expression.

The logical expression or condition that defines this test scenario.

Public Property RuleIds System.Collections.Generic.List<System.String>

Gets and sets the property RuleIds.

The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5