Skip to contents

Deletes a resource policy from this account. This revokes the access of the identities in that policy to put log events to this account.

See https://www.paws-r-sdk.com/docs/cloudwatchlogs_delete_resource_policy/ for full documentation.

Usage

cloudwatchlogs_delete_resource_policy(
  policyName = NULL,
  resourceArn = NULL,
  expectedRevisionId = NULL
)

Arguments

policyName

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

resourceArn

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

expectedRevisionId

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