Skip to content

Delete Resource Policy

cloudwatchrum_delete_resource_policy R Documentation

Removes the association of a resource-based policy from an app monitor

Description

Removes the association of a resource-based policy from an app monitor.

Usage

cloudwatchrum_delete_resource_policy(Name, PolicyRevisionId)

Arguments

Name

[required] The app monitor that you want to remove the resource policy from.

PolicyRevisionId

Specifies a specific policy revision to delete. Provide a PolicyRevisionId to ensure an atomic delete operation. If the revision ID that you provide doesn't match the latest policy revision ID, the request will be rejected with an InvalidPolicyRevisionIdException error.

Value

A list with the following syntax:

list(
  PolicyRevisionId = "string"
)

Request syntax

svc$delete_resource_policy(
  Name = "string",
  PolicyRevisionId = "string"
)