---
type: resource-type
title: KnowledgeBasePolicy
description: aws resource type AWS::Bedrock::KnowledgeBasePolicy
name: KnowledgeBasePolicy
lexicon: aws
resource_type: AWS::Bedrock::KnowledgeBasePolicy
---
`AWS::Bedrock::KnowledgeBasePolicy`, a resource type of the aws lexicon.

## Properties

- `KnowledgeBaseId` (`string`, required): The unique identifier of the knowledge base
- `PolicyDocument` (`PolicyDocument`, required): The IAM policy document defining access permissions for the knowledge base
- `RevisionId` (`string`, optional): The revision identifier for the policy, used for optimistic concurrency control

## Attributes

- `RevisionId`
