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.
expectedRevisionId
The expected revision identifier of the resource policy. Use this to prevent conflicts when multiple users update the same policy concurrently. Specify the revisionId from the most recent get_resource_policy or put_resource_policy response.
Value¶
A list with the following syntax: