PutResourcePolicyRequest
¶
Source code in docs_src/capo_bedrock_agent/types/put_resource_policy_request.py
expected_revision_id
instance-attribute
¶
expected_revision_id: NotRequired[RevisionId]
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 GetResourcePolicy or PutResourcePolicy response.
policy
instance-attribute
¶
policy: ResourcePolicy
The JSON-formatted resource policy to associate with the knowledge base.
resource_arn
instance-attribute
¶
resource_arn: ResourceArn
The Amazon Resource Name (ARN) of the knowledge base to attach the resource policy to.