def export_as_troposphere(self):
    out = {}
    for name in ('content', 'source', 'encoding', 'group', 'owner', 'mode', 'authentication', 'context'):
        value = getattr(self, name, None)
        if (value != None):
            out[name] = value
    return out
def export_as_troposphere(self):
    out = {}
    for name in ('content', 'source', 'encoding', 'group', 'owner', 'mode', 'authentication', 'context'):
        value = getattr(self, name, None)
        if (value != None):
            out[name] = value
    return out