Skip to content

Delete Resource Policy

cloudtrail_delete_resource_policy R Documentation

Deletes the resource-based policy attached to the CloudTrail channel

Description

Deletes the resource-based policy attached to the CloudTrail channel.

Usage

cloudtrail_delete_resource_policy(ResourceArn)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the CloudTrail channel you're deleting the resource-based policy from. The following is the format of a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel.

Value

An empty list.

Request syntax

svc$delete_resource_policy(
  ResourceArn = "string"
)