/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * Resource Type definition for AWS::CloudTrail::ResourcePolicy */ export interface AwsCloudtrailResourcepolicy { /** * The ARN of the AWS CloudTrail resource to which the policy applies. */ ResourceArn: 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. */ ResourcePolicy: | { [k: string]: unknown; } | string; }