Delete Resource Policy
| cloudwatchlogs_delete_resource_policy | R Documentation |
Deletes a resource policy from this account¶
Description¶
Deletes a resource policy from this account. This revokes the access of the identities in that policy to put log events to this account.
Usage¶
cloudwatchlogs_delete_resource_policy(policyName, resourceArn,
expectedRevisionId)
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. |
Value¶
An empty list.
Request syntax¶
svc$delete_resource_policy(
policyName = "string",
resourceArn = "string",
expectedRevisionId = "string"
)