Skip to content

DeleteResourcePolicyRequest

Source code in docs_src/capo_cloudwatch_logs/types/delete_resource_policy_request.py
class DeleteResourcePolicyRequest(TypedDict, closed=True):
    policy_name: NotRequired["capo_cloudwatch_logs.types.policy_name.PolicyName"]
    """<p>The name of the policy to be revoked. This parameter is required.</p>"""
    resource_arn: NotRequired["capo_cloudwatch_logs.types.arn.Arn"]
    """<p>The ARN of the CloudWatch Logs resource for which the resource policy needs to be deleted</p>"""
    expected_revision_id: NotRequired[
        "capo_cloudwatch_logs.types.expected_revision_id.ExpectedRevisionId"
    ]
    """<p>The expected revision ID of the resource policy. Required when deleting a resource-scoped policy to prevent concurrent modifications.</p>"""

expected_revision_id instance-attribute

expected_revision_id: NotRequired[ExpectedRevisionId]

The expected revision ID of the resource policy. Required when deleting a resource-scoped policy to prevent concurrent modifications.

policy_name instance-attribute

policy_name: NotRequired[PolicyName]

The name of the policy to be revoked. This parameter is required.

resource_arn instance-attribute

resource_arn: NotRequired[Arn]

The ARN of the CloudWatch Logs resource for which the resource policy needs to be deleted