Skip to main content

automated_reasoning_policies

Creates, updates, deletes or gets an automated_reasoning_policy resource or lists automated_reasoning_policies in a region

Overview

Nameautomated_reasoning_policies
TypeResource
DescriptionDefinition of AWS::Bedrock::AutomatedReasoningPolicy Resource Type
Idawscc.bedrock.automated_reasoning_policies

Fields

NameDatatypeDescription
namestringThe name inherited from the policy
descriptionstringThe description inherited from the policy
policy_definitionobject
policy_arnstringArn of the policy
versionstringThe version of the policy
definition_hashstringThe hash for this version
created_atstringTime this policy version was created
updated_atstringTime this policy was last updated
policy_idstringThe id of the associated policy
tagsarray
regionstringAWS region.

For more information, see AWS::Bedrock::AutomatedReasoningPolicy.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual automated_reasoning_policy.

SELECT
region,
name,
description,
policy_definition,
policy_arn,
version,
definition_hash,
created_at,
updated_at,
policy_id,
tags
FROM awscc.bedrock.automated_reasoning_policies
WHERE region = 'us-east-1' AND data__Identifier = '<PolicyArn>';

INSERT example

Use the following StackQL query and manifest file to create a new automated_reasoning_policy resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.bedrock.automated_reasoning_policies (
Name,
region
)
SELECT
'{{ Name }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.bedrock.automated_reasoning_policies
WHERE data__Identifier = '<PolicyArn>'
AND region = 'us-east-1';

Permissions

To operate on the automated_reasoning_policies resource, the following permissions are required:

Create

bedrock:CreateAutomatedReasoningPolicy,
bedrock:GetAutomatedReasoningPolicy,
bedrock:ExportAutomatedReasoningPolicyVersion,
bedrock:TagResource,
bedrock:ListTagsForResource

Read

bedrock:GetAutomatedReasoningPolicy,
bedrock:ExportAutomatedReasoningPolicyVersion,
bedrock:ListTagsForResource

Update

bedrock:UpdateAutomatedReasoningPolicy,
bedrock:GetAutomatedReasoningPolicy,
bedrock:ExportAutomatedReasoningPolicyVersion,
bedrock:ListTagsForResource,
bedrock:TagResource,
bedrock:UntagResource

Delete

bedrock:DeleteAutomatedReasoningPolicy,
bedrock:GetAutomatedReasoningPolicy

List

bedrock:ListAutomatedReasoningPolicies