'Provide backward compatibility for previous security_group
attribute.'

@property
def security_group(self):

    if (len(self.security_groups) > 0):
        return self.security_groups[(-1)]
    else:
        return None
