ResourcePolicy

class ResourcePolicy : KotlinCustomResource

Resource Type definition for AWS::CloudTrail::ResourcePolicy

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceArn: Output<String>

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

Link copied to clipboard
val resourcePolicy: Output<Any>

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. Search the CloudFormation User Guide for AWS::CloudTrail::ResourcePolicy for more information about the expected schema for this property.

Link copied to clipboard
val urn: Output<String>