Get Resource Policy
cloudtrail_get_resource_policy | R Documentation |
Retrieves the JSON text of the resource-based policy document attached to the CloudTrail event data store, dashboard, or channel¶
Description¶
Retrieves the JSON text of the resource-based policy document attached to the CloudTrail event data store, dashboard, or channel.
Usage¶
cloudtrail_get_resource_policy(ResourceArn)
Arguments¶
ResourceArn |
[required] The Amazon Resource Name (ARN) of the CloudTrail event data store, dashboard, or channel attached to the resource-based policy. Example event data store ARN format: Example dashboard ARN format:
Example channel ARN format:
|
Value¶
A list with the following syntax:
list(
ResourceArn = "string",
ResourcePolicy = "string",
DelegatedAdminResourcePolicy = "string"
)
Request syntax¶
svc$get_resource_policy(
ResourceArn = "string"
)