Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-cloudtrail-resourcepolicy.json
Parent schema serverless-framework-configuration
Type: object

Resource Type definition for AWS::CloudTrail::ResourcePolicy. Source:- https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-cloudtrail.git

Properties

ResourceArn string | Aws_CF_FunctionString required

The ARN of the AWS CloudTrail resource to which the policy applies.

ResourcePolicy object | string required

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.