Skip to content

PutResourcePolicyRequest

Source code in docs_src/capo_lambda_web/types/put_resource_policy_request.py
class PutResourcePolicyRequest(TypedDict, closed=True):
    resource_arn: "capo_lambda_web.types.resource_arn.ResourceArn"
    """<p>The Amazon Resource Name (ARN) of the web function.</p>"""
    policy: "capo_lambda_web.types.resource_policy.ResourcePolicy"
    """<p>The JSON-formatted resource-based policy to attach to the web function.</p>"""
    revision_id: NotRequired[
        "capo_lambda_web.types.policy_revision_id.PolicyRevisionId"
    ]
    """<p>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.</p>"""

policy instance-attribute

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.