CfnKnowledgeBasePolicyProps

class aws_cdk.aws_bedrock.CfnKnowledgeBasePolicyProps(*, knowledge_base_id, policy_document)

Bases: object

Properties for defining a CfnKnowledgeBasePolicy.

Parameters:
  • knowledge_base_id (str) – The unique identifier of the knowledge base.

  • policy_document (Any) – The IAM policy document defining access permissions for the knowledge base.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebasepolicy.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock

# policy_document: Any

cfn_knowledge_base_policy_props = bedrock.CfnKnowledgeBasePolicyProps(
    knowledge_base_id="knowledgeBaseId",
    policy_document=policy_document
)

Attributes

knowledge_base_id

The unique identifier of the knowledge base.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebasepolicy.html#cfn-bedrock-knowledgebasepolicy-knowledgebaseid

policy_document

The IAM policy document defining access permissions for the knowledge base.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebasepolicy.html#cfn-bedrock-knowledgebasepolicy-policydocument