Any bucket created through cloudformation will have `"LocationConstraint": null`, implying us-east-1, although in AWS CloudFormation the bucket's region will always match the template's region.
if isinstance(j, str):
            j = json.loads(j)
        self.__dict__.update(j)
    def to_dict(self):
        return json.loads(self.to_json())
    @classmethod
    def from_json(cls, j):
        j = JsonObject.as_dict(j)
        result = cls()
        result.apply_json(j)
        return result
    @classmethod
    def from_json_list(cls, l):
        return [cls.from_json(j) for j in l]
    @classmethod
    def as_dict(cls, obj):
        if isinstance(obj, dict):
            return obj
        return obj.to_dict()
    def __str__(self):
        return self.to_json()
    def __repr__(self):
        return self.__str__()
class CaptureOutput(object):