PutResourcePolicyRequest
¶
Source code in docs_src/capo_lambda_web/types/put_resource_policy_request.py
policy
instance-attribute
¶
policy: ResourcePolicy
The JSON-formatted resource-based policy to attach to the web function.
resource_arn
instance-attribute
¶
resource_arn: ResourceArn
The Amazon Resource Name (ARN) of the web function.
revision_id
instance-attribute
¶
revision_id: NotRequired[PolicyRevisionId]
The revision ID of the existing policy. Use this to prevent conflicts when updating a policy concurrently. If you don't specify a value, the update proceeds without checking the current revision.