automated_reasoning_policy_next_scenarios
Creates, updates, deletes, gets or lists an automated_reasoning_policy_next_scenarios resource.
Overview
| Name | automated_reasoning_policy_next_scenarios |
| Type | Resource |
| Id | aws.bedrock.automated_reasoning_policy_next_scenarios |
Fields
The following fields are returned by SELECT queries:
- get_automated_reasoning_policy_next_scenario
| Name | Datatype | Description |
|---|---|---|
policy_arn | string | The Amazon Resource Name (ARN) of the Automated Reasoning policy. (pattern: <code>arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:automated-reasoning-policy/[a-z0-9]{12}(:([1-9][0-9]{0,11}))?</code>) |
scenario | object | Represents a test scenario used to validate an Automated Reasoning policy, including the test conditions and expected outcomes. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_automated_reasoning_policy_next_scenario | select | policy_arn, build_workflow_id, region | Retrieves the next test scenario for validating an Automated Reasoning policy. This is used during the interactive policy refinement process to test policy behavior. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
build_workflow_id | string | The unique identifier of the build workflow associated with the test scenarios. |
policy_arn | string | The Amazon Resource Name (ARN) of the Automated Reasoning policy for which you want to get the next test scenario. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_automated_reasoning_policy_next_scenario
Retrieves the next test scenario for validating an Automated Reasoning policy. This is used during the interactive policy refinement process to test policy behavior.
SELECT
policy_arn,
scenario
FROM aws.bedrock.automated_reasoning_policy_next_scenarios
WHERE policy_arn = '{{ policy_arn }}' -- required
AND build_workflow_id = '{{ build_workflow_id }}' -- required
AND region = '{{ region }}' -- required
;