def get_color_for_cfn_stack_event_type(event_status):
    """ Map CFN event status strings to red/green/blue colors (matching the CFN console) """
    if event_status in ['CREATE_IN_PROGRESS', 'DELETE_IN_PROGRESS',
        'UPDATE_IN_PROGRESS']:
        return 'blue'
    elif event_status in ['CREATE_COMPLETE', 'DELETE_COMPLETE',
        'UPDATE_COMPLETE']:
        return 'green'
    elif event_status in ['CREATE_FAILED', 'DELETE_FAILED', 'UPDATE_FAILED']:
        return 'red'
    else:
        return 'black'
