def c_if(condition_name, value_if_true, value_if_false):
    return {'Fn::If': [condition_name, value_if_true, value_if_false]}
The intrinsic conditional function Fn::If representsa a ternary conditional operator
dataset/ETHPy150Open seandst/cfn-pyplates/cfn_pyplates/functions.py/c_if