Properties: Property: !If - YourCondition - YouProperties # It can be object or array - !Ref "AWS::NoValue"