The text of the policy. Although this is a bucket policy rather than an IAM policy, the aws.iam.getPolicyDocument data source may be used, so long as it specifies a principal. Note: Bucket policies are limited to 20 KB in size.
aws.iam.getPolicyDocument