title: How to add S3 BucketPolicy with AWS CDK?
body: <p>I wanna translate this CloudFormation piece into CDK:</p>
  
  <pre><code>Type: AWS::S3::BucketPolicy
  Properties:
    Bucket:
      Ref: S3BucketImageUploadBuffer
    PolicyDocument:
      Version: "2012-10-17"
      Statement:
        Action:
          - s3:PutObject
          - s3:PutObjectAcl
        Effect: Allow
        Resource:
          - ...
  </code></pre>
  
  <p>Looking at the <a href="https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-s3.BucketPolicy.html#construct-props" rel="noreferrer">documentation here</a>, I don't see a way to provide the policy document itself.</p>