{
  "typeName" : "AWS::S3::BucketPolicy",
  "description" : "Resource Type definition for AWS::S3::BucketPolicy",
  "additionalProperties" : false,
  "properties" : {
    "Id" : {
      "type" : "string"
    },
    "Bucket" : {
      "type" : "string"
    },
    "PolicyDocument" : {
      "type" : "object"
    }
  },
  "required" : [ "Bucket", "PolicyDocument" ],
  "createOnlyProperties" : [ "/properties/Bucket" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/Id" ]
}