Associates a resource policy with a knowledge base¶
Description¶
Associates a resource policy with a knowledge base. A resource policy allows other AWS accounts to access the knowledge base. For more information, see Cross-account access for knowledge bases.
Usage¶
Arguments¶
-
resourceArn[required] The Amazon Resource Name (ARN) of the knowledge base to attach the resource policy to.
-
policy[required] The JSON-formatted resource policy to associate with the knowledge base.
-
expectedRevisionIdThe expected revision identifier of the resource policy. Use this to prevent conflicts when multiple users update the same policy concurrently. Specify the
revisionIdfrom the most recentget_resource_policyorput_resource_policyresponse.
Value¶
A list with the following syntax: