AWS Fundamentals Logo
AWS Fundamentals
AWS::Bedrock::KnowledgeBasePolicy

Bedrock KnowledgeBasePolicy

Definition of AWS::Bedrock::KnowledgeBasePolicy Resource Type

Properties

2 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
KnowledgeBaseId
string
RequiredCreate-only
PolicyDocument
object
Required

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
RevisionIdstringThe revision identifier for the policy, used for optimistic concurrency control

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Bedrock::KnowledgeBasePolicy

Resources:
  MyResource:
    Type: AWS::Bedrock::KnowledgeBasePolicy
    Properties:
      KnowledgeBaseId: "my-knowledgebaseid"
      PolicyDocument: {}

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

bedrock:PutResourcePolicybedrock:GetResourcePolicy

read

bedrock:GetResourcePolicy

update

bedrock:PutResourcePolicybedrock:GetResourcePolicy

delete

bedrock:DeleteResourcePolicybedrock:GetResourcePolicy

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceBedrock
Properties3
Required2
TaggingNot supported
Primary IDKnowledgeBaseId

Supported Operations

CreateReadUpdateDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

KnowledgeBaseId

External Links