GetBucketPolicyResult

data class GetBucketPolicyResult(val policyDocument: Any? = null)

Constructors

Link copied to clipboard
constructor(policyDocument: Any? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val policyDocument: Any? = null

A policy document containing permissions to add to the specified bucket. 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::S3Express::BucketPolicy for more information about the expected schema for this property.