CfnKnowledgeBasePolicyMixinProps

class aws_cdk.cfn_property_mixins.aws_bedrock.CfnKnowledgeBasePolicyMixinProps(*, knowledge_base_id=None, policy_document=None)

Bases: object

Properties for CfnKnowledgeBasePolicyPropsMixin.

Parameters:
  • knowledge_base_id (Optional[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.cfn_property_mixins import aws_bedrock as bedrock

# policy_document: Any

cfn_knowledge_base_policy_mixin_props = bedrock.CfnKnowledgeBasePolicyMixinProps(
    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