AWS::Bedrock::KnowledgeBasePolicyDefinition of AWS::Bedrock::KnowledgeBasePolicy Resource Type
2 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
KnowledgeBaseId | string | RequiredCreate-only |
PolicyDocument | object | Required |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
RevisionId | string | The revision identifier for the policy, used for optimistic concurrency control |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Bedrock::KnowledgeBasePolicy
Resources:
MyResource:
Type: AWS::Bedrock::KnowledgeBasePolicy
Properties:
KnowledgeBaseId: "my-knowledgebaseid"
PolicyDocument: {}Permissions CloudFormation needs in your IAM role to manage this resource.
bedrock:PutResourcePolicybedrock:GetResourcePolicybedrock:GetResourcePolicybedrock:PutResourcePolicybedrock:GetResourcePolicybedrock:DeleteResourcePolicybedrock:GetResourcePolicyOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterKnowledgeBaseIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
KnowledgeBaseId