

def c_if(condition_name, value_if_true, value_if_false):
    'The intrinsic conditional function Fn::If representsa a ternary conditional operator\n\n    Returns one value if the specified condition evaluates to true and another value\n    if the specified condition evaluates to false.\n\n    Currently, AWS CloudFormation supports the Fn::If intrinsic function in the\n    metadata attribute, update policy attribute, and property values in the Resources\n    section and Outputs sections of a template.\n\n    You can use the AWS::NoValue pseudo parameter as a return value\n    to remove the corresponding property.\n\n    '
    return {
        'Fn::If': [condition_name, value_if_true, value_if_false],
    }

dataset/ETHPy150Open seandst/cfn-pyplates/cfn_pyplates/functions.py c_if/original