Data Source schema for AWS::CloudTrail::ResourcePolicy
id
(String) Uniquely identifies the resource.resource_arn
(String) The ARN of the AWS CloudTrail resource to which the policy applies.resource_policy
(String) A policy document containing permissions to add to the specified resource. In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM.