automated_reasoning_policy_versions
Creates, updates, deletes or gets an automated_reasoning_policy_version resource or lists automated_reasoning_policy_versions in a region
Overview
| Name | automated_reasoning_policy_versions |
| Type | Resource |
| Description | Definition of AWS::Bedrock::AutomatedReasoningPolicyVersion Resource Type |
| Id | awscc.bedrock.automated_reasoning_policy_versions |
Fields
| Name | Datatype | Description |
|---|---|---|
policy_arn | string | Arn of the policy |
name | string | The name inherited from the policy |
description | string | The description inherited from the policy |
version | string | The version of the policy |
definition_hash | string | The hash for this version |
created_at | string | Time this policy version was created |
updated_at | string | Time this policy was last updated |
policy_id | string | The id of the associated policy |
tags | array | |
region | string | AWS region. |
For more information, see AWS::Bedrock::AutomatedReasoningPolicyVersion.
Methods
| Name | Accessible by | Required Params |
|---|---|---|
create_resource | INSERT | PolicyArn, region |
delete_resource | DELETE | data__Identifier, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT examples
Gets all properties from an individual automated_reasoning_policy_version.
SELECT
region,
policy_arn,
name,
description,
version,
definition_hash,
last_updated_definition_hash,
created_at,
updated_at,
policy_id,
tags
FROM awscc.bedrock.automated_reasoning_policy_versions
WHERE region = 'us-east-1' AND data__Identifier = '<PolicyArn>|<Version>';
INSERT example
Use the following StackQL query and manifest file to create a new automated_reasoning_policy_version resource, using stack-deploy.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO awscc.bedrock.automated_reasoning_policy_versions (
PolicyArn,
region
)
SELECT
'{{ PolicyArn }}',
'{{ region }}';
/*+ create */
INSERT INTO awscc.bedrock.automated_reasoning_policy_versions (
PolicyArn,
LastUpdatedDefinitionHash,
Tags,
region
)
SELECT
'{{ PolicyArn }}',
'{{ LastUpdatedDefinitionHash }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: automated_reasoning_policy_version
props:
- name: PolicyArn
value: '{{ PolicyArn }}'
- name: LastUpdatedDefinitionHash
value: '{{ LastUpdatedDefinitionHash }}'
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
DELETE example
/*+ delete */
DELETE FROM awscc.bedrock.automated_reasoning_policy_versions
WHERE data__Identifier = '<PolicyArn|Version>'
AND region = 'us-east-1';
Permissions
To operate on the automated_reasoning_policy_versions resource, the following permissions are required:
Create
bedrock:CreateAutomatedReasoningPolicyVersion,
bedrock:GetAutomatedReasoningPolicy,
bedrock:ExportAutomatedReasoningPolicyVersion,
bedrock:TagResource,
bedrock:ListTagsForResource
Read
bedrock:GetAutomatedReasoningPolicy,
bedrock:ExportAutomatedReasoningPolicyVersion,
bedrock:ListTagsForResource
Delete
bedrock:DeleteAutomatedReasoningPolicy,
bedrock:GetAutomatedReasoningPolicy
List
bedrock:ListAutomatedReasoningPolicies